<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('forumdisplay');
0
|| checktplrefresh('./template/quater_2023_dji/forum/forumdisplay.htm', './template/default/forum/forumdisplay_leftside.htm', 1713414367, 'diy', './data/template/20_diy_forum_forumdisplay.tpl.php', './template/quater_2023_dji', 'forum/forumdisplay')
|| checktplrefresh('./template/quater_2023_dji/forum/forumdisplay.htm', './template/quater_2023_dji/forum/recommend.htm', 1713414367, 'diy', './data/template/20_diy_forum_forumdisplay.tpl.php', './template/quater_2023_dji', 'forum/forumdisplay')
|| checktplrefresh('./template/quater_2023_dji/forum/forumdisplay.htm', './template/quater_2023_dji/common/seccheck.htm', 1713414367, 'diy', './data/template/20_diy_forum_forumdisplay.tpl.php', './template/quater_2023_dji', 'forum/forumdisplay')
|| checktplrefresh('./template/quater_2023_dji/forum/forumdisplay.htm', './template/quater_2023_dji/forum/forumdisplay_list.htm', 1713414367, 'diy', './data/template/20_diy_forum_forumdisplay.tpl.php', './template/quater_2023_dji', 'forum/forumdisplay')
|| checktplrefresh('./template/quater_2023_dji/forum/forumdisplay.htm', './template/default/forum/forumdisplay_sort.htm', 1713414367, 'diy', './data/template/20_diy_forum_forumdisplay.tpl.php', './template/quater_2023_dji', 'forum/forumdisplay')
|| checktplrefresh('./template/quater_2023_dji/forum/forumdisplay.htm', './template/quater_2023_dji/forum/search_sortoption.htm', 1713414367, 'diy', './data/template/20_diy_forum_forumdisplay.tpl.php', './template/quater_2023_dji', 'forum/forumdisplay')
|| checktplrefresh('./template/quater_2023_dji/forum/forumdisplay.htm', './template/quater_2023_dji/forum/search_sortoption.htm', 1713414367, 'diy', './data/template/20_diy_forum_forumdisplay.tpl.php', './template/quater_2023_dji', 'forum/forumdisplay')
;?><?php include template('common/header'); ?><script src="template/quater_2023_dji/src/js/sticky.js?<?php echo VERHASH;?>" type="text/javascript" type="text/javascript"></script>
<?php if($_G['forum']['ismoderator']) { ?>
<script src="<?php echo $_G['setting']['jspath'];?>forum_moderate.js?<?php echo VERHASH;?>" type="text/javascript"></script>
<?php } ?>
<link rel="stylesheet" type="text/css" id="time_diy" href="template/quater_2023_dji/portal/menhu/1.f8bc4a7a.chunk.css?<?php echo VERHASH;?>" />
<link rel="stylesheet" type="text/css" id="time_diy" href="template/quater_2023_dji/src/css/portal.css?<?php echo VERHASH;?>" />
<style id="diy_style" type="text/css"></style>

<style type="text/css">
body { font-family: mipro !important}
#atarget:before, .unchk:before, .chked:before { float: left; margin: 2px 5px 0 0}
.cardx .fl_row td { border: 0}
#flow_right.f_fixed { position: fixed; top: 76px; height: 422px}
#flow_right.f_fixed .boardHeader-LcG8P { display: block !important; border-radius: 10px 10px 0 0 !important}
#flow_right.f_fixed .rightSection-1KuwM { border-radius: 0 0 10px 10px !important}
#sd_bdl { display: none}
.imgItem img, .article .bottomPic img { transition: all .5s ease-in-out}
.article .bottomPic:hover img { transform: scale(1.2) !important}
.abstractMid-pic:hover, .boardName-3wdbA:hover, .article .titleTop:hover, .titlePic .pic-name:hover { color: #ff6661 !important}
.xst, .list_au_info { font-family: mipro !important}
.mi_phone_box { display: none}
#separatorline { display: none}
#flow_right .boardHeader-LcG8P { display: none !important}
.is-sticky #flow_right .boardHeader-LcG8P { display: block !important}
.f_box, .f_box a { color: #FFFFFF}
.showhide { display: none}
.tabx_cont .tf { font-size: 15px}
.tabx_cont .tf .xi2 { color: rgba(0,0,0,.4) !important}
.tabx_cont .tf .xw1 { font-size: 15px; font-weight: 400 !important; color: rgba(0,0,0,0.85) !important}
.list_au_info { font-size: 12px; color: #aaaeb3; font-family: Arial, Helvetica, sans-serif, 'Microsoft Yahei'}
.list_au_info a { color: #aaaeb3 !important; text-decoration: none}
.tl .icn { width: 65px}
.xst { font-size: 16px}
#moderate .thread_tit {
    width: 100%;
    padding: 13px 0;
}
.right .count .reply[data-v-7d2a2a76], .right .count[data-v-7d2a2a76] {
    display: flex;
    align-items: center;
    font-weight: 400;
    color: #aaaeb3;
}
.right .count .view[data-v-7d2a2a76] {
    display: flex;
    align-items: center;
}
.right .count .reply .count-num[data-v-7d2a2a76], .right .count .view .count-num[data-v-7d2a2a76] {
    margin-left: 4px;
}
.right .count .view[data-v-7d2a2a76] {
    margin-right: 20px;
}
.rules { line-height: 24px; font-size: 12px; font-family: Arial, Helvetica, sans-serif, 'Microsoft Yahei'}
.cnt-3bjqd a { color: rgba(0, 0, 0, .45)}
.tl .icn { width: 52px; padding: 0}
.tl .bm_c { padding: 0 30px}
.tl .th, .tl .thread_tit, .tl td {
    border-top: 0;
    border-bottom: 1px solid #F3F3F3
}
.tl .icn { display: none}
.tl table tbody { position: relative}
.tl .o {
    width: 20px;
    position: absolute;
    left: -30px;
    top: 30px;
border-bottom: 0 !important
}
.fullTitle-title {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    z-index: 100;
    height: 3.27273rem;
}
.fullTitle-title-left, .fullTitle-title-right {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    color: rgba(0,0,0,.9);
}
.fullTitle-title-left {
    margin-left: 4%;
}
.custom-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(0,0,0,.4);
    display: flex;
    justify-content: center;
    align-items: center;
}
.custom-icon>img {
    width: 20px;
    height: 13px;
}
.NewHead_headTop__1rOZg {
    position: relative;
    height: 218px;
}
.NewHead_headTop__1rOZg .NewHead_banner__2MGNl {
    position: relative;
    height: 100%;
    overflow: hidden;
}
.NewHead_headTop__1rOZg .NewHead_banner__2MGNl img {
    width: 100%;
    height: 100%;
}
.NewHead_headTop__1rOZg .NewHead_banner__2MGNl img.NewHead_blur__1XMCp {
    -webkit-filter: blur(20px);
    filter: blur(20px);
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
}
.NewHead_headTop__1rOZg .NewHead_content__1Tf-q {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.NewHead_headTop__1rOZg .NewHead_content__1Tf-q .NewHead_mask__1xxEO {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,.2);
}
.NewHead_headTop__1rOZg .NewHead_content__1Tf-q .NewHead_thumbnail__3CgTU {
    position: absolute;
    z-index: 50;
    left: 4%;
    bottom: 16px;
    width: 65px;
    height: 65px;
    border-radius: 12px;
}
.LazyLoadImg_lazyImg__3R1zp {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}
.NewHead_headBottom__380s3 {
    padding: 0 4%;
background: #FFFFFF
}
.NewHead_headBottom__380s3 header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
}
.NewHead_headBottom__380s3 header .NewHead_boardName__1V_ZV {
    color: #333333;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
}
.extend-click {
    position: relative;
}
.JoinCircleBtn_joinBtn__3gUsN {
    width: 58px !important;
    height: 26px !important;
    border-width: 1px;
    border: 1px solid #d9d9d9;
    border-radius: 28px;
    color: var(--Color_Text_1);
    font-size: 14px;
    line-height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* cursor: pointer; */
}
.NewHead_headBottom__380s3 .NewHead_metaInfo__Wn_T9 {
    margin-top: 1.90909rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.NewHead_headBottom__380s3 .NewHead_metaInfo__Wn_T9 .NewHead_boardRank__3xA29, .NewHead_headBottom__380s3 .NewHead_metaInfo__Wn_T9 .NewHead_flex__2Ou27 {
    display: flex;
    align-items: center;
}
.AvatarGroup_avatarGroup__MTbtq {
    display: flex;
    align-items: center;
}
.AvatarGroup_avatarGroup__MTbtq .AvatarGroup_avatars__2LoSe {
    margin-right: 3px;
    display: flex;
    align-items: center;
}
.AvatarGroup_avatarGroup__MTbtq .AvatarGroup_avatar__nOGXR {
    position: relative;
    border-radius: 50%;
    border: 1px solid #FFFFFF;
    overflow: hidden;
    background-image: url(//rs.vip.miui.com/vip-resource/prod/mifans/v163/static/defaultMedia/default-avatar.bf774ef7.svg);
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
}
.AvatarGroup_avatarGroup__MTbtq .AvatarGroup_avatar__nOGXR span {
    position: relative;
    display: block;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
}
.NewHead_num__14QBf {
font-weight: bold
}
.NewHead_divider__13sXb {
    width: 1px;
    height: 15px;
    background-color: rgba(0,0,0,.15);
    margin-left: 12px;
    margin-right: 12px;
}
.AvatarGroup_avatarGroup__MTbtq .AvatarGroup_avatar__nOGXR:not(:last-of-type) {
    margin-right: -10px;
}
.titlePic .titlePic-left { width: 52px; height: 52px; margin-right: 28px}
@media (max-width: 820px) {
body, html { font-family: 'Microsoft Yahei' !important}
.phone_list_top { display: block !important}
.boardHeader-LcG8P { display: none !important}
.mn { width: 100% !important}
.sd { display: none}
.mi_section { margin-top: 0 !important}
.tabx_cont { width: 100% !important; padding: 5px 4% !important; margin: 0 !important; box-sizing: border-box}
.picBtnTop-wrap { margin: 15px 0 0 0 !important}
.rightbox { display: none}
.v2_dot { display: none}
.v2_cont-title em { display: none}
.qin-rt-icon { display: none}
.v2_cont { padding: 15px !important}
.v2_reply { right: 15px !important}
.thread_tit a.xst { line-height: 24px !important; font-size: 16px !important}
.list_au_info { padding-top: 20px !important}
.mi_section { width: 100% !important}
.tl .bm_c { padding: 0 4% !important}
.tl .o { display: none}
.imgList { width: 100%; display: block}
.imgList400 { width: 100% !important}
.imgItem { float: left; width: 32%; height: 116px; margin: 10px 2% 0 0; border-radius: 5px}
.imgItem img { height: 116px !important; width: auto !important; min-width: 100% !important}
.imgList400 .imgItem { width: 49% !important; margin: 10px 2% 0 0 !important}
.imgList400 .imgItem:nth-child(2n) { margin-right: 0 !important}
.tabx_cont { top: 0 !important}
body { font-family: Arial, Helvetica, sans-serif,'Microsoft Yahei' !important}
.titlePic .pic-name, .xst { font-family: Arial, Helvetica, sans-serif,'Microsoft Yahei' !important}
.toppingList-zIQMI { padding: 18px 4% 10px 4% !important}
.titlePic .titlePic-left { margin-right: 12px !important}
.titlePic .titlePic-left { width: 40px; height: 40px}
#moderate .thread_tit img.mio-lazy-img { width: 40px !important; height: 40px !important}
.card-circle { margin: 2px 6px 0 0 !important}
.right_info { width: calc(100% - 52px) !important}
.thread_tit a.xst { font-size: 15px !important}
}
</style>

<!--[diy=diynavtop]--><div id="diynavtop" class="area"></div><!--[/diy]-->

<div id="pt" class="bm cl" style="display: none;">
<div class="z">
<a href="./" title="首页">首页</a><em>&raquo;</em><a href="forum.php"><?php echo $_G['setting']['navs'][2]['navname'];?></a><?php echo $navigation;?>
</div>
</div>

</div>
</div>

<div class="mi_section cl" style="margin-top: 20px;"><?php echo adshow("text/wp a_t");?><div class="wp">
<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
</div>

<div class="boardnav">
<div id="ct" class="wp cl">
    
    
    <div class="phone_list_top cl" style="display: none;">
    <div class="fullTitle-title" style="top: 10px;"><div class="fullTitle-title-left" role="button" aria-label="后退" tabindex="0"><a href="forum.php"><div class="custom-icon"><img src="template/quater_2023_dji/portal/arrowBack.d276e7e1.svg" alt=""></div></a></div><div class="fullTitle-title-word ellipsis" style="color: rgb(255, 255, 255);"></div><div class="fullTitle-title-right"></div></div>
    <div class="NewHead_headTop__1rOZg">
  <div class="NewHead_banner__2MGNl" aria-hidden="true">
  <?php if($_G['forum']['icon']) { ?><img class="NewHead_blur__1XMCp" src="data/attachment/common/<?php echo $_G['forum']['icon'];?>" alt="" style="object-fit: cover;"><?php } else { ?><img class="NewHead_blur__1XMCp" src="template/quater_2023_dji/src/no_icon.png" alt="" style="object-fit: cover;"><?php } ?>
  </div>
  <div class="NewHead_content__1Tf-q">
    <div class="NewHead_mask__1xxEO"></div>
    <div class="NewHead_thumbnail__3CgTU">
    <?php if($_G['forum']['icon']) { ?><img class="LazyLoadImg_lazyImg__3R1zp" src="data/attachment/common/<?php echo $_G['forum']['icon'];?>" alt=""><?php } else { ?><img class="LazyLoadImg_lazyImg__3R1zp" src="template/quater_2023_dji/src/no_icon.png" alt=""><?php } ?>
    </div>
  </div>
</div>
<div class="NewHead_headBottom__380s3">
  <header>
    <div class="NewHead_boardName__1V_ZV"><?php echo $_G['forum']['name'];?></div>
    <div class="extend-click JoinCircleBtn_joinBtn__3gUsN " role="button" aria-label="加入圈子" tabindex="0" style="width: 100%; height: 100%; font-weight: bold;"><a href="home.php?mod=spacecp&amp;ac=favorite&amp;type=forum&amp;id=<?php echo $_G['fid'];?>&amp;handlekey=favoriteforum&amp;formhash=<?php echo FORMHASH;?>" onclick="showWindow(this.id, this.href, 'get', 0);" style="color: #333333;" title="点击收藏">收藏</a></div>
  </header>
  <div class="NewHead_metaInfo__Wn_T9">
    <div class="NewHead_flex__2Ou27">
      <div class="NewHead_flex__2Ou27">
        <div class="AvatarGroup_avatarGroup__MTbtq">
          <div class="AvatarGroup_avatars__2LoSe">
            <div class="AvatarGroup_avatar__nOGXR"><span style="background-image: url(template/quater_2023_dji/portal/1.jpg); z-index: 3; width: 23px; height: 23px;"></span></div>
            <div class="AvatarGroup_avatar__nOGXR"><span style="background-image: url(template/quater_2023_dji/portal/2.jpg); z-index: 2; width: 23px; height: 23px;"></span></div>
            <div class="AvatarGroup_avatar__nOGXR"><span style="background-image: url(template/quater_2023_dji/portal/3.jpg); z-index: 1; width: 23px; height: 23px;"></span></div>
          </div>
        </div>
        <div>主题 <span class="NewHead_num__14QBf"><?php if(!$subforumonly) { ?><?php echo $_G['forum']['threads'];?><?php if($_G['forum']['rank']) { } } ?></span></div>
      </div>
      <div class="NewHead_divider__13sXb"></div>
      <div><a href="home.php?mod=spacecp&amp;ac=favorite&amp;type=forum&amp;id=<?php echo $_G['fid'];?>&amp;handlekey=favoriteforum&amp;formhash=<?php echo FORMHASH;?>" onclick="showWindow(this.id, this.href, 'get', 0);" style="color: #333333;" title="点击收藏">收藏</a> <span class="NewHead_num__14QBf"><?php echo $_G['forum']['favtimes'];?></span></div>
    </div>
  </div>
</div>
</div>
    
        <?php if($leftside) { ?>
<div id="sd_bdl" class="bdl" onmouseover="showMenu({'ctrlid':this.id, 'pos':'dz'});" style="float: left; width: 130px; margin-left: -150px;">
<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_leftside_top'])) echo $_G['setting']['pluginhooks']['forumdisplay_leftside_top'];?>
<!--[diy=diyleftsidetop]--><div id="diyleftsidetop" class="area"></div><!--[/diy]-->
<div class="tbn" id="forumleftside"><?php if($leftside['favorites']) { ?>
<h2 class="mbn"><a href="home.php?mod=space&amp;do=favorite&amp;type=forum">收藏的版块</a></h2>
<dl id="lf_fav" class="bdl_fav mbm"><?php if(isset($leftside['favorites']) && is_array($leftside['favorites'])) foreach($leftside['favorites'] as $favfid => $fdata) { ?><dd>
<?php if(!empty($_G['cache']['forums'][$favfid]['domain']) && !empty($_G['setting']['domain']['root']['forum'])) { ?>
<a href="<?php echo $_G['scheme'];?>://<?php echo $_G['cache']['forums'][$favfid]['domain'];?>.<?php echo $_G['setting']['domain']['root']['forum'];?>" title="<?php echo $fdata[0];?>"><?php echo $fdata[0];?></a>
<?php } else { ?>
<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $favfid;?>"><?php echo $fdata[0];?></a>
<?php } ?>

</dd>
<?php } ?>
</dl>
<?php } else { ?>
<h2 class="bdl_h">版块导航</h2>
<?php } if(isset($leftside['forums']) && is_array($leftside['forums'])) foreach($leftside['forums'] as $upfid => $gdata) { if($gdata['sub']) { ?>
<dl class="<?php if($fgroupid == $upfid || $_G['setting']['leftsideopen']) { ?>a<?php } ?>" id="lf_<?php echo $upfid;?>">
<dt><a href="javascript:;" hidefocus="true" onclick="leftside('lf_<?php echo $upfid;?>')" title="<?php echo $gdata['name'];?>"><?php echo $gdata['name'];?></a></dt><?php if(isset($gdata['sub']) && is_array($gdata['sub'])) foreach($gdata['sub'] as $subfid => $name) { ?><dd<?php if($_G['fid'] == $subfid || $_G['forum']['fup'] == $subfid) { ?> class="bdl_a"<?php } ?>>
<?php if(!empty($_G['cache']['forums'][$subfid]['domain']) && !empty($_G['setting']['domain']['root']['forum'])) { ?>
<a href="<?php echo $_G['scheme'];?>://<?php echo $_G['cache']['forums'][$subfid]['domain'];?>.<?php echo $_G['setting']['domain']['root']['forum'];?>" title="<?php echo $name;?>"><?php echo $name;?></a>
<?php } else { ?>
<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $subfid;?>" title="<?php echo $name;?>"><?php echo $name;?></a>
<?php } ?>
</dd>
<?php } ?>
</dl>
<?php } } ?></div>
<!--[diy=diyleftsidebottom]--><div id="diyleftsidebottom" class="area"></div><!--[/diy]-->
<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_leftside_bottom'])) echo $_G['setting']['pluginhooks']['forumdisplay_leftside_bottom'];?>
</div>
<?php } ?>

<div class="mn" style="float: left; width: 874px; overflow: visible;">
          <div class="cl" style="box-shadow: none; border-radius: 0; background: #FFFFFF; overflow: hidden;">
<div class="tabx_cont" style="width: 814px; height: 44px; line-height: 44px; padding: 10px 0; margin: 0 30px; border-bottom: 1px solid #F3F3F3; background: #FFFFFF; position: relative; z-index: 100; box-shadow: none; border-radius: 0;">
<div class="cl">
<div class="th" style="padding: 0; margin-bottom: 0; border: 0; background: none;">

<table cellspacing="0" cellpadding="0" style="width: 100%;">

<tr>

<th colspan="<?php if(!$_GET['archiveid'] && $_G['forum']['ismoderator']) { ?>3<?php } else { ?>2<?php } ?>" style="border-top: 0; margin: 0; padding: 0;">

<?php if(CURMODULE != 'guide') { ?>

<div class="tf" style="height: 44px; line-height: 44px;">
<a id="filter_dateline" href="javascript:;" class="showmenu showmenu2 xi2<?php if($_GET['dateline']) { ?> xw1<?php } ?>" onclick="showMenu(this.id)" style="float: right; display: none;">更多排序</a>

<?php if($_GET['specialtype'] == 'reward') { ?>

<a id="filter_reward" href="javascript:;" class="showmenu xi2<?php if($_GET['rewardtype']) { ?> xw1<?php } ?>" onclick="showMenu(this.id)"><?php if($_GET['rewardtype'] == '') { ?>全部悬赏<?php } elseif($_GET['rewardtype'] == '1') { ?>进行中<?php } elseif($_GET['rewardtype'] == '2') { ?>已解决<?php } ?></a>&nbsp;

<?php } ?>
            <a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2 <?php if($_GET['filter'] == 'lastpost' || $_GET['filter'] == 'heat' || $_GET['filter'] == 'digest') { } else { ?> xw1<?php } ?>" style="margin-right: 35px;">全部</a>
<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=lastpost&amp;orderby=lastpost<?php echo $forumdisplayadd['lastpost'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="dfsj_latest xi2<?php if($_GET['filter'] == 'lastpost') { ?> xw1<?php } ?>" style="padding-left: 0; margin-right: 35px; background: none;">最新</a>

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=heat&amp;orderby=heats<?php echo $forumdisplayadd['heat'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="dfsj_heats xi2<?php if($_GET['filter'] == 'heat') { ?> xw1<?php } ?>" style="margin-right: 35px; padding: 0; background: none">热门</a>

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=digest&amp;digest=1<?php echo $forumdisplayadd['digest'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="dfsj_digest xi2<?php if($_GET['filter'] == 'digest') { ?> xw1<?php } ?>" style="padding-left: 0; background: none;">精华</a>
            

<a id="filter_special" href="javascript:;" class="showmenu xi2<?php if($_GET['specialtype']) { ?> xw1<?php } ?>" onclick="showMenu(this.id)" style="display: none;"><?php if($_GET['specialtype'] == 'poll') { ?>投票<?php } elseif($_GET['specialtype'] == 'trade') { ?>商品<?php } elseif($_GET['specialtype'] == 'reward') { ?>悬赏<?php } elseif($_GET['specialtype'] == 'activity') { ?>活动<?php } elseif($_GET['specialtype'] == 'debate') { ?>辩论<?php } else { ?>全部主题<?php } ?></a>&nbsp;

                        <a id="th_type" href="javascript:;" class="showmenu xi2" onclick="showMenu(this.id)" style="display: none;">最新</a>

<?php if(empty($_G['forum']['picstyle']) && $_GET['orderby'] == 'lastpost' && (!$_G['setting']['forumseparator'] || !$separatepos) && !$_GET['filter']) { ?>

<a href="javascript:;" onclick="checkForumnew_btn('<?php echo $_G['fid'];?>')" title="查看更新" class="forumrefresh" s style="display: none;"></a>

<?php } if($_GET['filter'] == 'hot') { ?>

<script src="<?php echo $_G['setting']['jspath'];?>calendar.js?<?php echo VERHASH;?>" type="text/javascript"></script>

<span><?php echo $ctime;?></span>

<img src="<?php echo IMGDIR;?>/date_magnify.png" class="cur1" alt="" id="hottime" value="<?php echo $ctime;?>" fid="<?php echo $_G['fid'];?>" onclick="showcalendar(event, this, false, false, false, false, function(){viewhot(this);});" align="absmiddle" />

<?php } ?>

<span id="clearstickthread" style="display: none;">

<a href="javascript:;" onclick="clearStickThread()" class="xi2" title="显示置顶" style="margin-right: 22px; display: inline-block;">显示置顶</a>

</span>


</div>

<?php } else { ?>

标题

<?php } ?>

</th>

<?php if(empty($_G['forum']['picstyle'])) { if(CURMODULE == 'guide') { ?>

<td class="by" style="width: 0; border-top: 0;"></td>

<?php } ?>

<td class="by" style="width: 0; border-top: 0;"></td>

<td class="num" style="width: 0; border-top: 0;"></td>

<td class="by" style="width: 0; border-top: 0;"></td>

<?php } else { ?>

<td class="display_none by" colspan="3" style="width: 70px; border-top: 0; padding-left: 12px; position: relative;">
                <a href="forum.php?mod=post&amp;action=newthread&amp;fid=<?php echo $_G['fid'];?>" target="_blank" class="piclist_post" style="float: right; width: 80px; height: 30px; line-height: 30px; margin: 0 0 0 20px; font-size: 14px; text-align: center; background: #44a8f2; color: #FFFFFF !important; display: none;">发帖</a>
                   <a<?php if(empty($_G['cookie']['forumdefstyle'])) { ?> href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;forumdefstyle=yes" class="chked"<?php } else { ?> href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;forumdefstyle=no" class="unchk"<?php } ?> title="图片模式浏览帖子" style="float: right; margin: 7px 0 0 20px !important;">图片模式</a>
   <span id="atarget" <?php if($_G['cookie']['atarget'] > 0) { ?>onclick="setatarget(-1)" class="y atarget_1"<?php } else { ?>onclick="setatarget(1)" class="y"<?php } ?> title="在新窗口中打开帖子" style="float: right; margin: 7px 0 0 20px !important;">新窗</span>
</td>

<?php } ?>

</tr>

</table>

</div>
</div>
</div>
<div class="cl"><!--[diy=diy_zhiding]--><div id="diy_zhiding" class="area"></div><!--[/diy]--></div><?php if(($_G['forum']['threadtypes'] && $_G['forum']['threadtypes']['listable']) || (isset($_G['forum']['threadsorts']['types']) && is_array($_G['forum']['threadsorts']['types']) && count($_G['forum']['threadsorts']['types']) > 0)) { ?>

<ul id="thread_types" class="ttp bm cl" style="padding: 25px 25px; margin: 0; border: 0 !important; box-sizing: border-box;">

<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_threadtype_inner'])) echo $_G['setting']['pluginhooks']['forumdisplay_threadtype_inner'];?>

<li id="ttp_all" <?php if(!$_GET['typeid'] && !$_GET['sortid']) { ?>class="xw1 a"<?php } ?> style="padding-left: 0; background: none;"><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?><?php if($_G['forum']['threadsorts']['defaultshow']) { ?>&amp;filter=sortall&amp;sortall=1<?php } if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>">全部</a></li>

<?php if($_G['forum']['threadtypes']) { if(isset($_G['forum']['threadtypes']['types']) && is_array($_G['forum']['threadtypes']['types'])) foreach($_G['forum']['threadtypes']['types'] as $id => $name) { if($_GET['typeid'] == $id) { ?>

<li class="xw1 a"><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?><?php if($_GET['sortid']) { ?>&amp;filter=sortid&amp;sortid=<?php echo $_GET['sortid'];?><?php } if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>"><?php if($_G['forum']['threadtypes']['icons'][$id] && $_G['forum']['threadtypes']['prefix'] == 2) { ?><img class="vm" src="<?php echo $_G['forum']['threadtypes']['icons'][$id];?>" alt="" /> <?php } ?><?php echo $name;?><?php if($showthreadclasscount['typeid'][$id]) { ?><span class="xg1 num"><?php echo $showthreadclasscount['typeid'][$id];?></span><?php } ?></a></li>

<?php } else { ?>

<li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=typeid&amp;typeid=<?php echo $id;?><?php echo $forumdisplayadd['typeid'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>"><?php if($_G['forum']['threadtypes']['icons'][$id] && $_G['forum']['threadtypes']['prefix'] == 2) { ?><img class="vm" src="<?php echo $_G['forum']['threadtypes']['icons'][$id];?>" alt="" /> <?php } ?><?php echo $name;?><?php if($showthreadclasscount['typeid'][$id]) { ?><span class="xg1 num"><?php echo $showthreadclasscount['typeid'][$id];?></span><?php } ?></a></li>

<?php } } } if($_G['forum']['threadsorts']) { if($_G['forum']['threadtypes']) { ?><li><span class="pipe">|</span></li><?php } if(isset($_G['forum']['threadsorts']['types']) && is_array($_G['forum']['threadsorts']['types'])) foreach($_G['forum']['threadsorts']['types'] as $id => $name) { if($_GET['sortid'] == $id) { ?>

<li class="xw1 a"><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?><?php if($_GET['typeid']) { ?>&amp;filter=typeid&amp;typeid=<?php echo $_GET['typeid'];?><?php } if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>"><?php echo $name;?><?php if($showthreadclasscount['sortid'][$id]) { ?><span class="xg1 num"><?php echo $showthreadclasscount['sortid'][$id];?></span><?php } ?></a></li>

<?php } else { ?>

<li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=sortid&amp;sortid=<?php echo $id;?><?php echo $forumdisplayadd['sortid'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>"><?php echo $name;?><?php if($showthreadclasscount['sortid'][$id]) { ?><span class="xg1 num"><?php echo $showthreadclasscount['sortid'][$id];?></span><?php } ?></a></li>

<?php } } } ?>

<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_filter_extra'])) echo $_G['setting']['pluginhooks']['forumdisplay_filter_extra'];?>

</ul>

<script type="text/javascript">showTypes('thread_types');</script>

<?php } ?>

            <?php if((!$simplestyle || !$_G['forum']['allowside'] && $page == 1) && !empty($announcement)) { ?>

            <div class="cl" style="padding: 15px; background: #FFFFFF; display: none;">

            <div style="font-size: 16px;" class="gonggao"><?php if(empty($announcement['type'])) { ?><a href="forum.php?mod=announcement&amp;id=<?php echo $announcement['id'];?>#<?php echo $announcement['id'];?>" target="_blank">公告：<?php echo $announcement['subject'];?></a><?php } else { ?><a href="<?php echo $announcement['message'];?>" target="_blank">公告：<?php echo $announcement['subject'];?></a><?php } ?></div>

            </div>

            <?php } ?>


<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_top'])) echo $_G['setting']['pluginhooks']['forumdisplay_top'];?>


<div class="drag">

<!--[diy=diy4]--><div id="diy4" class="area"></div><!--[/diy]-->

</div>



<?php if(!empty($_G['forum']['recommendlist'])) { ?>

<div class="bm bmw">

<div class="bm_h cl">

<h2>推荐主题</h2>

</div>

<div class="bm_c cl"><?php if($_G['forum']['recommendlist']['images'] && $_G['forum']['modrecommend']['imagenum']) { ?>
<div class="cl" style="width: <?php echo $_G['forum']['modrecommend']['imagewidth'];?>px; margin: 0 auto; float:left;">
<script type="text/javascript">
var slideSpeed = 5000;
var slideImgsize = [<?php echo $_G['forum']['modrecommend']['imagewidth'];?>,<?php echo $_G['forum']['modrecommend']['imageheight'];?>];
var slideBorderColor = '<?php echo $_G['style']['specialborder'];?>';
var slideBgColor = '<?php echo $_G['style']['commonbg'];?>';
var slideImgs = new Array();
var slideImgLinks = new Array();
var slideImgTexts = new Array();
var slideSwitchColor = '<?php echo $_G['style']['tabletext'];?>';
var slideSwitchbgColor = '<?php echo $_G['style']['commonbg'];?>';
var slideSwitchHiColor = '<?php echo $_G['style']['specialborder'];?>';<?php if(isset($_G['forum']['recommendlist']['images']) && is_array($_G['forum']['recommendlist']['images'])) foreach($_G['forum']['recommendlist']['images'] as $k => $imginfo) { ?>slideImgs[<?php echo $k+1; ?>] = '<?php echo $imginfo['filename'];?>';
slideImgLinks[<?php echo $k+1; ?>] = 'forum.php?mod=viewthread&tid=<?php echo $imginfo['tid'];?>';
slideImgTexts[<?php echo $k+1; ?>] = '<?php echo $imginfo['subject'];?>';
<?php } ?>
</script>
<script src="<?php echo $_G['setting']['jspath'];?>forum_slide.js?<?php echo VERHASH;?>" type="text/javascript"></script>
</div>
<?php } ?>
<div class="recommend cl"<?php if($_G['forum']['recommendlist']['images'] && $_G['forum']['modrecommend']['imagenum']) { ?> style="margin-left: <?php echo $_G['forum']['modrecommend']['imagewidth'];?>px; padding-left: 20px;"<?php } ?>><?php unset($_G['forum']['recommendlist']['images']);?><ul class="xl<?php if(!$_G['forum']['allowside']) { ?> xl2<?php } ?> cl"><?php if(isset($_G['forum']['recommendlist']) && is_array($_G['forum']['recommendlist'])) foreach($_G['forum']['recommendlist'] as $rtid => $recommend) { ?><li class="f14">
<a href="forum.php?mod=viewthread&amp;tid=<?php echo $rtid;?>" <?php echo $recommend['subjectstyles'];?> target="_blank"><?php echo $recommend['subject'];?></a>
</li>
<?php } ?>
</ul>
</div></div>

</div>

<?php } ?>



<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_middle'])) echo $_G['setting']['pluginhooks']['forumdisplay_middle'];?>



<?php if(!$subforumonly) { if($recommendgroups && !$_G['forum']['allowside']) { ?>

<div class="bm bmw fl<?php if($_G['forum']['forumcolumns']) { ?> flg<?php } ?>" style="background: #FFFFFF; display: none;">

<div class="bm_h cl" style="padding: 15px; margin: 0; border: 0;">

<span class="o"><img id="recommendgroups_<?php echo $_G['forum']['fid'];?>_img" src="<?php echo IMGDIR;?>/<?php echo $collapseimg['recommendgroups'];?>" title="收起/展开" alt="收起/展开" onclick="toggle_collapse('recommendgroups_<?php echo $_G['forum']['fid'];?>');" /></span>

<h2 style="font-size: 16px;">推荐<?php echo $_G['setting']['navs'][3]['navname'];?></h2>

</div>

<div class="cl" id="recommendgroups_<?php echo $_G['forum']['fid'];?>" style="padding: 15px; margin-bottom: 20px; background: #F9F9F9; <?php echo $collapse['recommendgroups'];?>">

<table cellspacing="0" cellpadding="0" class="fl_tb"><?php if(isset($recommendgroups) && is_array($recommendgroups)) foreach($recommendgroups as $key => $group) { if($_G['forum']['forumcolumns']) { if($key && ($key % $_G['forum']['forumcolumns'] == 0)) { ?>

</tr>

<?php if($key < $_G['forum']['forumcolumns']) { ?>

<tr class="fl_row">

<?php } } ?>

<td class="fl_g">

<div class="fl_icn_g">

<a href="forum.php?mod=group&amp;fid=<?php echo $group['fid'];?>" title="<?php echo $group['name'];?>" target="_blank"><img src="<?php echo $group['icon'];?>" alt="<?php echo $group['name'];?>" width="32" /></a>

</div>

<dl>

<dt><a href="forum.php?mod=group&amp;fid=<?php echo $group['fid'];?>" target="_blank"><?php echo $group['name'];?></a><span class="xg1 xw0"> (<?php echo $group['membernum'];?> 人)</span>

<dd><em>主题: <?php echo $group['threads'];?></em></dd>

<dd>

<?php if(is_array($group['lastpost'])) { if($_G['forum']['forumcolumns'] < 3) { ?>

<a href="forum.php?mod=redirect&amp;tid=<?php echo $group['lastpost']['tid'];?>&amp;goto=lastpost#lastpost" class="xi2"><?php echo cutstr($group['lastpost']['subject'], 30); ?></a> <cite><?php echo $group['lastpost']['dateline'];?> <?php if($group['lastpost']['author']) { ?><a href="home.php?mod=space&amp;username=<?php echo $group['lastpost']['encode_author'];?>"><?php echo $group['lastpost']['author'];?></a><?php } else { ?><?php echo $_G['setting']['anonymoustext'];?><?php } ?></cite>

<?php } else { ?>

<a href="forum.php?mod=redirect&amp;tid=<?php echo $group['lastpost']['tid'];?>&amp;goto=lastpost#lastpost" class="xi2"><?php echo $group['lastpost']['dateline'];?></a>

<?php } ?>				<?php } else { ?>

从未

<?php } ?>

</dd>

</dl>

</td>

<?php } else { ?>

<tr <?php if($key != 0) { ?>class="fl_row"<?php } ?>>

<td class="fl_icn">

<a href="forum.php?mod=group&amp;fid=<?php echo $group['fid'];?>" title="<?php echo $group['name'];?>" target="_blank"><img src="<?php echo $group['icon'];?>" alt="<?php echo $group['name'];?>" width="32" /></a>

</td>

<td>

<h2><a href="forum.php?mod=group&amp;fid=<?php echo $group['fid'];?>" target="_blank"><?php echo $group['name'];?></a><span class="xg1 xw0"> (<?php echo $group['membernum'];?> 人)</span></h2>

<p><?php echo cutstr($group['description'], 100); ?></p>

</td>

<td class="fl_i">

<span class="xi2"><?php echo $group['threads'];?> 主题</span>

</td>

<td class="fl_by">

<div>

<?php if(is_array($group['lastpost'])) { ?>

<a href="forum.php?mod=redirect&amp;tid=<?php echo $group['lastpost']['tid'];?>&amp;goto=lastpost#lastpost" class="xi2"><?php echo cutstr($group['lastpost']['subject'], 30); ?></a> <cite><?php echo $group['lastpost']['dateline'];?> <?php if($group['lastpost']['author']) { ?><a href="home.php?mod=space&amp;username=<?php echo $group['lastpost']['encode_author'];?>"><?php echo $group['lastpost']['author'];?></a><?php } else { ?><?php echo $_G['setting']['anonymoustext'];?><?php } ?></cite>

<?php } else { ?>

从未

<?php } ?>

</div>

</td>

</tr>

<?php } } ?>

</table>

</div>

</div>

<?php } if($threadmodcount) { ?><div class="bm"><div class="ntc_l hm xi2"><strong><a href="home.php?mod=space&amp;uid=<?php echo $_G['uid'];?>&amp;do=thread&amp;view=me&amp;type=thread&amp;from=&amp;filter=aduit">您有 <?php echo $threadmodcount;?> 个主题正等待审核中，点击查看</a></strong></div></div><?php } if($livethread) { ?>

<div id="livethread" class="tl bm bmw cl" style="padding:10px 15px;">

<div class="livethreadtitle vm">

<span class="replynumber xg1">回复 <span id="livereplies" class="xi1"><?php echo $livethread['replies'];?></span></span>

<a href="forum.php?mod=viewthread&amp;tid=<?php echo $livethread['tid'];?>" target="_blank"><?php echo $livethread['subject'];?></a> <img src="<?php echo IMGDIR;?>/livethreadtitle.png" />

</div>

<div class="livethreadcon"><?php echo $livemessage;?></div>

<div id="livereplycontentout">

<div id="livereplycontent">

</div>

</div>

<div id="liverefresh">有新的发言了，点击刷新</div>

<div id="livefastreply">

<form id="livereplypostform" method="post" action="forum.php?mod=post&amp;action=reply&amp;fid=<?php echo $_G['fid'];?>&amp;tid=<?php echo $livethread['tid'];?>&amp;replysubmit=yes&amp;infloat=yes&amp;handlekey=livereplypost&amp;inajax=1" onsubmit="return livereplypostvalidate(this)">

<div id="livefastcomment">

<textarea id="livereplymessage" name="message" style="color:gray;<?php if(!$liveallowpostreply) { ?>display:none;<?php } ?>">#在这里快速回复#</textarea>

<?php if(!$liveallowpostreply) { ?>

<div>

<?php if(!$_G['uid']) { ?>

您需要登录后才可以回帖 <a href="member.php?mod=logging&amp;action=login" onclick="showWindow('login', this.href)" class="xi2">登录</a> | <a href="member.php?mod=<?php echo $_G['setting']['regname'];?>" class="xi2"><?php echo $_G['setting']['reglinkname'];?></a>

<?php } else { ?>

您现在无权发帖。<a href="javascript:;" onclick="ajaxpost('livereplypostform', 'livereplypostreturn', 'livereplypostreturn', 'onerror', $('livereplysubmit'));" class="xi2">点击查看原因</a>

<?php } ?>

</div>

<?php } ?>

</div>

<div id="livepostsubmit" style="display:none;">

<?php if($secqaacheck || $seccodecheck) { ?><?php
$sectpl = <<<EOF
<sec> <span id="sec<hash>" onclick="showMenu(this.id)"><sec></span><div id="sec<hash>_menu" class="p_pop p_opt" style="display:none"><sec></div>
EOF;
?>

<div class="mtm sec" style="text-align:right;"><?php $sechash = !isset($sechash) ? 'S'.($_G['inajax'] ? 'A' : '').$_G['sid'] : $sechash.random(3);
$sectpl = str_replace("'", "\'", $sectpl);?><?php if($secqaacheck) { ?>
<span id="secqaa_q<?php echo $sechash;?>"></span>		
<script type="text/javascript" reload="1">updatesecqaa('q<?php echo $sechash;?>', '<?php echo $sectpl;?>', '<?php echo $_G['basescript'];?>::<?php echo CURMODULE;?>');</script>
<?php } if($seccodecheck) { ?>
<span id="seccode_c<?php echo $sechash;?>"></span>		
<script type="text/javascript" reload="1">updateseccode('c<?php echo $sechash;?>', '<?php echo $sectpl;?>', '<?php echo $_G['basescript'];?>::<?php echo CURMODULE;?>');</script>
<?php } ?></div>

<?php } ?>

<p class="ptm pnpost" style="margin-bottom:10px;">

<button type="submit" name="replysubmit" class="pn pnc vm" style="float:right;" value="replysubmit" id="livereplysubmit">

<strong>发表</strong>

</button>

</p>

</div>

<input type="hidden" name="formhash" value="<?php echo FORMHASH;?>">

<input type="hidden" name="subject" value="  ">

</form>

</div>

<span id="livereplypostreturn"></span>

</div>

<script type="text/javascript">

var postminchars = parseInt('<?php echo $_G['setting']['minpostsize'];?>');

var postmaxchars = parseInt('<?php echo $_G['setting']['maxpostsize'];?>');

var disablepostctrl = parseInt('<?php echo $_G['group']['disablepostctrl'];?>');

var replycontentlist = new Array();

var addreplylist = new Array();

var timeoutid = timeid = movescrollid = waitescrollid = null;

var replycontentnum = 0;

getnewlivepostlist(1);

timeid = setInterval(getnewlivepostlist, 5000);

$('livereplycontent').style.position = 'absolute';

$('livereplycontent').style.width = ($('livereplycontentout').clientWidth - 50) + 'px';

$('livereplymessage').onfocus = function() {

if(this.style.color == 'gray') {

this.value = '';

this.style.color = 'black';

$('livepostsubmit').style.display = 'block';

this.style.height = '56px';

$('livefastcomment').style.height = '57px';

}

};

$('livereplymessage').onblur = function() {

if(this.value == '') {

this.style.color = 'gray';

this.value = '#在这里快速回复#';

}

};



$('liverefresh').onclick = function() {

$('livereplycontent').style.position = 'absolute';

getnewlivepostlist();

this.style.display = 'none';

};



$('livereplycontentout').onmouseover = function(e) {



if($('livereplycontent').style.position == 'absolute' && $('livereplycontent').clientHeight > 215) {

$('livereplycontent').style.position = 'static';

this.scrollTop = this.scrollHeight;

}



if(this.scrollTop + this.clientHeight != this.scrollHeight) {

clearInterval(timeid);

clearTimeout(timeoutid);

clearInterval(movescrollid);

timeid = timeoutid = movescrollid = null;



if(waitescrollid == null) {

waitescrollid = setTimeout(function() {

$('liverefresh').style.display = 'block';

}, 60000 * 10);

}

} else {

clearTimeout(waitescrollid);

waitescrollid = null;

}

};



$('livereplycontentout').onmouseout = function(e) {

if(this.scrollTop + this.clientHeight == this.scrollHeight) {

$('livereplycontent').style.position = 'absolute';

clearInterval(timeid);

timeid = setInterval(getnewlivepostlist, 10000);

}

};



function getnewlivepostlist(first) {

var x = new Ajax('JSON');

x.getJSON('forum.php?mod=misc&action=livelastpost&fid=<?php echo $livethread['fid'];?>', function(s, x) {

var count = s.data.count;

$('livereplies').innerHTML = count;

var newpostlist = s.data.list;

for(i in newpostlist) {

var postid = i;

var postcontent = '';

postcontent += newpostlist[i].authorid ? '<dt><a href="home.php?mod=space&amp;uid=' + newpostlist[i].authorid + '" target="_blank">' + newpostlist[i].avatar + '</a></dt>' : '<dt></dt>';

postcontent += newpostlist[i].authorid ? '<dd><a href="home.php?mod=space&amp;uid=' + newpostlist[i].authorid + '" target="_blank">' + newpostlist[i].author + '</a></dd>' : '<dd>' + newpostlist[i].author + '</dd>';

postcontent += '<dd>' + htmlspecialchars(newpostlist[i].message) + '</dd>';

postcontent += '<dd class="dateline">' + newpostlist[i].dateline + '</dd>';

if(replycontentlist[postid]) {

$('livereply_' + postid).innerHTML = postcontent;

continue;

}

addreplylist[postid] = '<dl id="livereply_' + postid + '">' + postcontent + '</dl>';

}

if(first) {

for(i in addreplylist) {

replycontentlist[i] = addreplylist[i];

replycontentnum++;

var div = document.createElement('div');

div.innerHTML = addreplylist[i];

$('livereplycontent').appendChild(div);

delete addreplylist[i];

}

} else {

livecontentfacemove();

}

});

}



function livecontentfacemove() {

//note 从队列中取出数据

var reply = '';

for(i in addreplylist) {

reply = replycontentlist[i] = addreplylist[i];

replycontentnum++;

delete addreplylist[i];

break;

}

if(reply) {

var div = document.createElement('div');

div.innerHTML = reply;

var oldclientHeight = $('livereplycontent').clientHeight;

$('livereplycontent').appendChild(div);

$('livereplycontentout').style.overflowY = 'hidden';

$('livereplycontent').style.bottom = oldclientHeight - $('livereplycontent').clientHeight + 'px';



if(replycontentnum > 20) {

$('livereplycontent').removeChild($('livereplycontent').firstChild);

for(i in replycontentlist) {

delete replycontentlist[i];

break;

}

replycontentnum--;

}



if(!movescrollid) {

movescrollid = setInterval(function() {

if(parseInt($('livereplycontent').style.bottom) < 0) {

$('livereplycontent').style.bottom =

((parseInt($('livereplycontent').style.bottom) + 5) > 0 ? 0 : (parseInt($('livereplycontent').style.bottom) + 5)) + 'px';

} else {

$('livereplycontentout').style.overflowY = 'auto';

clearInterval(movescrollid);

movescrollid = null;

timeoutid = setTimeout(livecontentfacemove, 1000);

}

}, 100);

}

}

}



function livereplypostvalidate(theform) {

var s;

if(theform.message.value == '' || $('livereplymessage').style.color == 'gray') {

s = '抱歉，您尚未输入内容';

}

if(!disablepostctrl && ((postminchars != 0 && mb_strlen(theform.message.value) < postminchars) || (postmaxchars != 0 && mb_strlen(theform.message.value) > postmaxchars))) {

s = '您的帖子长度不符合要求。\n\n当前长度: ' + mb_strlen(theform.message.value) + ' 字节\n系统限制: ' + postminchars + ' 到 ' + postmaxchars + ' 字节';

}

if(s) {

showError(s);

doane();

$('livereplysubmit').disabled = false;

return false;

}

$('livereplysubmit').disabled = true;

theform.message.value = theform.message.value.replace(/([^>=\]"'\/]|^)((((https?|ftp):\/\/)|www\.)([\w\-]+\.)*[\w\-\u4e00-\u9fa5]+\.([\.a-zA-Z0-9]+|\u4E2D\u56FD|\u7F51\u7EDC|\u516C\u53F8)((\?|\/|:)+[\w\.\/=\?%\-&~`@':+!]*)+\.(jpg|gif|png|bmp))/ig, '$1[img]$2[/img]');

theform.message.value = parseurl(theform.message.value);

ajaxpost('livereplypostform', 'livereplypostreturn', 'livereplypostreturn', 'onerror', $('livereplysubmit'));

return false;

}



function succeedhandle_livereplypost(url, msg, param) {

$('livereplymessage').value = '';

$('livereplycontent').style.position = 'absolute';

if(param['sechash']) {

updatesecqaa(param['sechash']);

updateseccode(param['sechash']);

}

getnewlivepostlist();

}

</script>

<?php } ?>



<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_postbutton_top'])) echo $_G['setting']['pluginhooks']['forumdisplay_postbutton_top'];?>

<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_threadtype_extra'])) echo $_G['setting']['pluginhooks']['forumdisplay_threadtype_extra'];?>

<?php if(empty($_G['forum']['sortmode'])) { ?><style type="text/css">
#mdly { right: 80px}
</style>
<div id="threadlist" class="tl bm bmw"<?php if($_G['uid']) { ?> style="position: relative;"<?php } ?>>

<?php if($quicksearchlist && !$_GET['archiveid']) { ?><script type="text/javascript">
var forum_optionlist = <?php if($forum_optionlist) { ?>'<?php echo $forum_optionlist;?>'<?php } else { ?>''<?php } ?>;
</script>
<script src="<?php echo $_G['setting']['jspath'];?>threadsort.js?<?php echo VERHASH;?>" type="text/javascript"></script>
<style type="text/css">
.ptn.pbn { width: 1212px; border-radius: 4px}
.tsm th { color: #999999}
.tsm th {
    padding: 5px 0 5px 10px;
    border: none;
    vertical-align: top;
}
.tsm td {
    padding: 5px 10px 5px 0;
    border: none;
    vertical-align: top;
}
.tsm th {
    padding-left: 20px;
    width: 50px !important;
}
.tl .tf { padding: 0 !important}
.tl .tsm .th, .tl .tsm th, .tl .tsm td { border: 0}
#thread_types, .annoucement, .tabx_cont, .pgb, .pgs #newspecialtmp { display: none}

.listbox { width: 1140px; margin: 0; border-radius: 0 !important; background: none !important}

body { background: #F6F6F6}
.bm, .thread_box { box-shadow: none !important; background: none !important}

#threadlist { padding: 0 !important}

.ptn.pbn { padding: 10px 0 !important; margin: 5px 0 20px 0 !important; border-bottom: 0 !important; background: #FFFFFF}
#hour24 { background: #FFFFFF}
.tsm { margin: 0; font-size: 14px}
.tsm th { padding-left: 20px}

.drag, .sd, #pt { display: none}
.mn { width: 100% !important}

.tsm .a a { font-weight: 400 !important; color: #91c700 !important}

#thread_types { padding-top: 0 !important}/
.td_tit, .tpi, .pgs #newspecialtmp, #thread_types, .bm.bml.pbn, .y.pgb a { display: none}

.liebiao li { position: relative; float: left; width: 208px; margin: 0 20px 20px 0; border-radius: 4px; box-shadow: 0 3px 12px rgba(0,0,0,0.1); overflow: hidden; background: #FFFFFF}
.liebiao li h3 { height: 20px; line-height: 20px; padding: 0 10px; margin: 10px 0; font-weight: 400}
.score[data-v-4f4c42cd] {
    position: absolute;
    text-align: center;
    line-height: 22px;
display: block;
    font-size: 12px;
    right: 0;
    top: 0;
    width: 40px;
    height: 22px;
    font-weight: 700;
    color: #fff;
    background: #ffb800;
    border-radius: 0 10px 0 10px;
}
.pcb h1, .pcb h2 { margin: 0}
.bg-white {
    background-color: #fff;
}
.tsj-book-cover { float: left; width: 90px; height: 130px; margin-right: 15px; box-shadow: 0 1px 1px 0 rgb(0 0 0 / 14%), 0 2px 1px -1px rgb(0 0 0 / 20%), 0 1px 3px 0 rgb(0 0 0 / 12%); border-radius: 2px; overflow: hidden}
.tsj-book-cover img { width: 90px; height: 130px; border-radius: 2px}
.flex-col { float: left; width: 260px}
.text-color-high { color: rgba(0,0,0,.87); font-size: 18px !important; margin-bottom: 3px !important}
.text-color-medium { color: rgba(0,0,0,.6)}
.text-sm { font-size: 14px}
.leading-normal { line-height: 26px}
#tsj-book-star-chart { float: right; padding-left: 18px; border-left: 1px solid rgb(234, 234, 234); margin-right: 35px}
.text-xs { font-size: 12px}
.text-color-low { color: rgba(0,0,0,.4)}
.leading-snug { float: left; color: rgb(250, 158, 20)}
.text-4xl { font-size: 36px}
.ml-1 { margin-left: 5px}
.tsj-rate {
width: 125px;
    padding-bottom: 10px;
background: url(template/quater_2023_dji/src/bk.png) no-repeat left top
}
.tsj-rate .tsj-rate__star {
    display: inline-block;
    font-weight: 100;
    width: 24px;
    height: 19px;
    font-size: 16px;
    color: #e0e0e0;
    text-align: center;
    vertical-align: middle;
}
.text-xss {
    font-size: 12px;
}
.mr-2 { float: left}
.w-full.items-center { float: left; margin-left: 8px}
.mr-1 {
    margin-right: 5px;
}
.h-2 {
    height: 8px;
}
.rounded-xl {
float: left;
margin-right: 10px;
height: 22px;
line-height: 22px;
padding: 0 10px !important;
border: 1px solid #4caf50 !important;
color: #4caf50 !important;
    border-radius: 22px;
}
.pt-2 {
    padding-top: 10px;
}
.max-l-2 {
    max-height: 48px;
}
.max-l-1 { max-height: none !important}
.whitespace-pre-line {}

.text-justify {
    text-align: justify;
}
.relative {
    position: relative;
}
.overflow-hidden {
    overflow: hidden;
}
.leading-relaxed {
    line-height: 26px;
overflow: hidden
}
.text-color-primary {
    color: #4caf50;
}

.z-10 {
    z-index: 10;
}
.bottom-0 {
    bottom: 0;
}
.right-0 {
    right: 0;
}
.absolute {
    position: absolute;
}
.py-1 {
    padding-top: 5px;
    padding-bottom: 10px;
}
.btn-primary, .btn-quaternary, .btn-secondary, .btn-tertiary {
    display: inline-block;
    position: relative;
    margin: 0;
    background: transparent;
    border: none;
    outline: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    color: #000;
    min-width: 64px;
    overflow: hidden;
    font-size: 14px;
    line-height: 1;
    opacity: 1;
    padding: 0 16px;
    text-align: center;
    line-height: 34px;
    vertical-align: middle;
    letter-spacing: 0;
    will-change: box-shadow;
    transition: box-shadow .2s cubic-bezier(.4,0,1,1),background-color .2s cubic-bezier(.4,0,.2,1),color .2s cubic-bezier(.4,0,.2,1);
}
.btn-quaternary.tsj-button--colored, .btn-secondary, .btn-tertiary, .btn-tertiary.tsj-button--colored {
    color: #4caf50 !important;
}
.btn-quaternary.tsj-button--colored.tsj-button--outlined, .btn-secondary, .btn-secondary.tsj-button--outlined, .btn-tertiary.tsj-button--colored.tsj-button--outlined, .btn-tertiary.tsj-button--outlined {
    border: 1px solid #4caf50;
}
.btn-primary, .btn-quaternary, .btn-quaternary.tsj-button--ripple, .btn-secondary, .btn-tertiary, .btn-tertiary.tsj-button--ripple {
    position: relative;
    overflow: hidden;
width: 206px
}
.btn-primary {
    background-color: hsla(0,0%,62%,.2);
}
.btn-primary, .btn-primary.tsj-button--colored {
    background-color: #4caf50;
    color: #fff;
}
.mx-2 {
    margin-left: 10px;
    margin-right: 10px;
}
.max-l-1 .read_all { display: none}
.max-l-1 .read_all1 { display: block !important}
.author { position: absolute; padding: 0 10px; height: 22px; line-height: 22px; background: rgba(0,0,0,0.5); color: #FFFFFF; top: 186px; right: 0; font-size: 12px}
.author a { color: #FFFFFF !important; font-size: 12px}
.tf a.xi2 { display: inline-block; padding: 0 15px !important; height: 32px; line-height: 32px; color: #333333; background: #F6F6F6 !important; border-radius: 6px; margin-right: 10px !important; font-weight: 400 !important}
.tf a.xi2.xw1 { color: #FFFFFF; background: #ffb800 !important; font-weight: 400 !important}
.fenye, .fenye1 { background: none !important}
</style><?php if(isset($quicksearchlist) && is_array($quicksearchlist)) foreach($quicksearchlist as $optionid => $option) { $formsearch = '';?>        <?php if(getstatus($option['search'], 1)) { ?>
        <?php
$__VERHASH = VERHASH;$formsearch = <<<EOF

            <div style="
EOF;
 if($option['type'] == 'checkbox') { 
$formsearch .= <<<EOF
clear:left;padding-bottom: 5px;
EOF;
 } else { 
$formsearch .= <<<EOF
float: left;width: 48%;height: 30px; overflow: hidden;
EOF;
 } 
$formsearch .= <<<EOF
">
                <span style="padding-right: 1em;">{$option['title']}:</span>
                
EOF;
 if(in_array($option['type'], array('radio', 'checkbox', 'select', 'range'))) { 
$formsearch .= <<<EOF

                    <span id="select_{$option['identifier']}">
                    
EOF;
 if($option['type'] == 'select') { 
$formsearch .= <<<EOF

                        
EOF;
 if($_GET['searchoption'][$optionid]['value']) { 
$formsearch .= <<<EOF

                            <script type="text/javascript">
                                changeselectthreadsort('{$_GET['searchoption'][$optionid]['value']}', {$optionid}, 'search');
                            </script>
                        
EOF;
 } else { 
$formsearch .= <<<EOF

                            <select name="searchoption[{$optionid}][value]" id="{$option['identifier']}" onchange="changeselectthreadsort(this.value, '{$optionid}', 'search');" class="ps vm">
                                <option value="0">请选择</option>
                            
EOF;
 if(isset($option['choices']) && is_array($option['choices'])) foreach($option['choices'] as $id => $value) { 
$formsearch .= <<<EOF
                                
EOF;
 if(!$value['foptionid']) { 
$formsearch .= <<<EOF

                                <option value="{$id}">{$value['content']} 
EOF;
 if($value['level'] != 1) { 
$formsearch .= <<<EOF
&raquo;
EOF;
 } 
$formsearch .= <<<EOF
</option>
                                
EOF;
 } 
$formsearch .= <<<EOF

                            
EOF;
 } 
$formsearch .= <<<EOF

                            </select>
<input type="hidden" name="searchoption[{$optionid}][type]" value="{$option['type']}">
                        
EOF;
 } 
$formsearch .= <<<EOF

                    
EOF;
 } elseif($option['type'] != 'checkbox') { 
$formsearch .= <<<EOF

                        <select name="searchoption[{$optionid}][value]" id="{$option['identifier']}" class="ps vm">
                            <option value="0">请选择</option>
                        
EOF;
 if(isset($option['choices']) && is_array($option['choices'])) foreach($option['choices'] as $id => $value) { 
$formsearch .= <<<EOF
                            <option value="{$id}" 
EOF;
 if($_GET['searchoption'][$optionid]['value'] == $id) { 
$formsearch .= <<<EOF
selected="selected"
EOF;
 } 
$formsearch .= <<<EOF
>{$value}</option>
                        
EOF;
 } 
$formsearch .= <<<EOF

                        </select>
                        <input type="hidden" name="searchoption[{$optionid}][type]" value="{$option['type']}">
                    
EOF;
 } else { 
$formsearch .= <<<EOF

                        
EOF;
 if(isset($option['choices']) && is_array($option['choices'])) foreach($option['choices'] as $id => $value) { 
$formsearch .= <<<EOF
                            <label><input type="checkbox" class="pc" name="searchoption[{$optionid}][value][{$id}]" value="{$id}" 
EOF;
 if(is_array($_GET['searchoption'][$optionid]) && $_GET['searchoption'][$optionid]['value'][$id]) { 
$formsearch .= <<<EOF
checked="checked"
EOF;
 } 
$formsearch .= <<<EOF
>{$value}</label>
                        
EOF;
 } 
$formsearch .= <<<EOF

                        <input type="hidden" name="searchoption[{$optionid}][type]" value="checkbox">
                    
EOF;
 } 
$formsearch .= <<<EOF

                    </span>
                
EOF;
 } else { 
$formsearch .= <<<EOF

                    
EOF;
 if($option['type'] == 'calendar') { 
$formsearch .= <<<EOF

                        <script src="{$_G['setting']['jspath']}calendar.js?{$__VERHASH}" type="text/javascript"></script>
                        <input type="text" name="searchoption[{$optionid}][value]" size="15" class="px vm" value="
EOF;
 if(is_array($_GET['searchoption'][$optionid])) { 
$formsearch .= <<<EOF
{$_GET['searchoption'][$optionid]['value']}
EOF;
 } 
$formsearch .= <<<EOF
" onclick="showcalendar(event, this, false)" />
                    
EOF;
 } else { 
$formsearch .= <<<EOF

                        <input type="text" name="searchoption[{$optionid}][value]" size="15" class="px vm" value="
EOF;
 if(is_array($_GET['searchoption'][$optionid])) { 
$formsearch .= <<<EOF
{$_GET['searchoption'][$optionid]['value']}
EOF;
 } 
$formsearch .= <<<EOF
" />
                    
EOF;
 } 
$formsearch .= <<<EOF

                
EOF;
 } 
$formsearch .= <<<EOF

            </div>
            
EOF;
?>
<?php } ?>
    <?php $formsearch_html .= $formsearch;?><?php $fontsearch = '';$showoption = array();$tmpcount = 0;?><?php if(getstatus($option['search'], 2)) { ?>
    <?php
$fontsearch = <<<EOF

<tr>
<th width="8%">{$option['title']}:</th>
            <td>
                <ul class="cl">
                    <li
EOF;
 if($_GET[''.$option['identifier']] == 'all') { 
$fontsearch .= <<<EOF
 class="a"
EOF;
 } 
$fontsearch .= <<<EOF
><a href="forum.php?mod=forumdisplay&amp;fid={$_G['fid']}&amp;filter=sortid&amp;sortid={$_GET['sortid']}&amp;searchsort=1{$filterurladd}&amp;{$option['identifier']}=all{$sorturladdarray[$option['identifier']]}" class="xi2">不限</a></li>

EOF;
 if($option['type'] == 'select') { if(isset($option['choices']) && is_array($option['choices'])) foreach($option['choices'] as $id => $value) { if($value['foptionid'] == 0) { 
$fontsearch .= <<<EOF

<li
EOF;
 if(preg_match('/^'.$value['optionid'].'\./i', $_GET[''.$option['identifier']]) || preg_match('/^'.$value['optionid'].'$/i', $_GET[''.$option['identifier']])) { 
$fontsearch .= <<<EOF
 class="a"
EOF;
 } 
$fontsearch .= <<<EOF
><a href="forum.php?mod=forumdisplay&amp;fid={$_G['fid']}&amp;filter=sortid&amp;sortid={$_GET['sortid']}&amp;searchsort=1&amp;{$option['identifier']}={$id}{$sorturladdarray[$option['identifier']]}" class="xi2">{$value['content']}</a></li>

EOF;
 } } if(!($_GET[''.$option['identifier']] == 'all' || !isset($_GET[''.$option['identifier']]))) { if(isset($option['choices']) && is_array($option['choices'])) foreach($option['choices'] as $id => $value) { if((preg_match('/^'.$value['foptionid'].'\./i', $_GET[''.$option['identifier']]) || preg_match('/^'.$value['foptionid'].'$/i', $_GET[''.$option['identifier']])) && ($showoption[$value['count']][$id] = $value)) { } } if(ksort($showoption)) { } if(isset($showoption) && is_array($showoption)) foreach($showoption as $optioncount => $values) { if($tmpcount != $optioncount && ($tmpcount = $optioncount)) { 
$fontsearch .= <<<EOF

</ul><ul class="subtsm cl">
EOF;
 if(isset($values) && is_array($values)) foreach($values as $id => $value) { 
$fontsearch .= <<<EOF
<li
EOF;
 if(preg_match('/^'.$value['optionid'].'\./i', $_GET[''.$option['identifier']]) || preg_match('/^'.$value['optionid'].'$/i', $_GET[''.$option['identifier']])) { 
$fontsearch .= <<<EOF
 class="a"
EOF;
 } 
$fontsearch .= <<<EOF
><a href="forum.php?mod=forumdisplay&amp;fid={$_G['fid']}&amp;filter=sortid&amp;sortid={$_GET['sortid']}&amp;searchsort=1&amp;{$option['identifier']}={$id}{$sorturladdarray[$option['identifier']]}" class="xi2">{$value['content']}</a></li>

EOF;
 } 
$fontsearch .= <<<EOF

</ul><ul>

EOF;
 } } } } else { if(isset($option['choices']) && is_array($option['choices'])) foreach($option['choices'] as $id => $value) { 
$fontsearch .= <<<EOF
<li
EOF;
 if($_GET[''.$option['identifier']] && !strcmp($id, $_GET[''.$option['identifier']])) { 
$fontsearch .= <<<EOF
 class="a"
EOF;
 } 
$fontsearch .= <<<EOF
><a href="forum.php?mod=forumdisplay&amp;fid={$_G['fid']}&amp;filter=sortid&amp;sortid={$_GET['sortid']}&amp;searchsort=1&amp;{$option['identifier']}={$id}{$sorturladdarray[$option['identifier']]}" class="xi2">{$value}</a></li>

EOF;
 } } 
$fontsearch .= <<<EOF

                </ul>
            </td>
</tr>

EOF;
?>
     <?php } ?>
     <?php $fontsearch_html .= $fontsearch;?><?php } if($formsearch_html || $fontsearch_html) { ?>
<div>
<?php if($fontsearch_html) { ?>
    <div class="ptn pbn mbm bbs">
    <table id="fontsearch" class="tsm cl">
         <?php echo $fontsearch_html;?>
    </table>
    </div>
<?php } ?>
    <div class="tabx_conts" style="width: 1080px; padding: 15px 20px; margin: 0 0 20px 0; border-bottom: 0; background: #FFFFFF; position: relative; z-index: 100; box-shadow: none; border-radius: 4px;">
<div class="cl">
<div class="th" style="padding: 0; margin-bottom: 0; border: 0; background: none;">

<table cellspacing="0" cellpadding="0" style="width: 100%;">

<tr>

<th colspan="<?php if(!$_GET['archiveid'] && $_G['forum']['ismoderator']) { ?>3<?php } else { ?>2<?php } ?>" style="border-top: 0; margin: 0; padding: 0;">

<?php if(CURMODULE != 'guide') { ?>

<div class="tf" style="height: 32px; line-height: 32px;">
<a id="filter_dateline" href="javascript:;" class="showmenu showmenu2 xi2<?php if($_GET['dateline']) { ?> xw1<?php } ?>" onclick="showMenu(this.id)" style="float: right; display: none;">更多排序</a>
<span id="atarget" <?php if($_G['cookie']['atarget'] > 0) { ?>onclick="setatarget(-1)" class="y atarget_1"<?php } else { ?>onclick="setatarget(1)" class="y"<?php } ?> title="在新窗口中打开帖子" style="margin-top: 8px !important;">新窗</span>

<?php if($_GET['specialtype'] == 'reward') { ?>

<a id="filter_reward" href="javascript:;" class="showmenu xi2<?php if($_GET['rewardtype']) { ?> xw1<?php } ?>" onclick="showMenu(this.id)"><?php if($_GET['rewardtype'] == '') { ?>全部悬赏<?php } elseif($_GET['rewardtype'] == '1') { ?>进行中<?php } elseif($_GET['rewardtype'] == '2') { ?>已解决<?php } ?></a>&nbsp;

<?php } ?>

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=lastpost&amp;orderby=lastpost<?php echo $forumdisplayadd['lastpost'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="dfsj_latest xi2<?php if($_GET['filter'] == 'lastpost') { ?> xw1<?php } ?>" style="padding-left: 0; margin-right: 22px; background: none;">最新</a>

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=heat&amp;orderby=heats<?php echo $forumdisplayadd['heat'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2<?php if($_GET['filter'] == 'heat') { ?> xw1<?php } ?>">热门</a>

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=digest&amp;digest=1<?php echo $forumdisplayadd['digest'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="dfsj_digest xi2<?php if($_GET['filter'] == 'digest') { ?> xw1<?php } ?>" style="padding-left: 0; background: none;">精华</a>
            <span class="pipe display_none">|</span>
            <a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2 display_none <?php if(!$_GET['dateline']) { ?>xw1<?php } ?>">全部时间</a>
            <a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline&amp;dateline=86400<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2 display_none <?php if($_GET['dateline'] == '86400') { ?>xw1<?php } ?>">一天</a>
<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline&amp;dateline=172800<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2 display_none <?php if($_GET['dateline'] == '172800') { ?>xw1<?php } ?>">两天</a>
<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline&amp;dateline=604800<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2 display_none <?php if($_GET['dateline'] == '604800') { ?>xw1<?php } ?>">一周</a>
<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline&amp;dateline=2592000<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2 display_none <?php if($_GET['dateline'] == '2592000') { ?>xw1<?php } ?>">一个月</a>
<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline&amp;dateline=7948800<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2 display_none <?php if($_GET['dateline'] == '7948800') { ?>xw1<?php } ?>">三个月</a>
            

<a id="filter_special" href="javascript:;" class="showmenu xi2<?php if($_GET['specialtype']) { ?> xw1<?php } ?>" onclick="showMenu(this.id)" style="display: none;"><?php if($_GET['specialtype'] == 'poll') { ?>投票<?php } elseif($_GET['specialtype'] == 'trade') { ?>商品<?php } elseif($_GET['specialtype'] == 'reward') { ?>悬赏<?php } elseif($_GET['specialtype'] == 'activity') { ?>活动<?php } elseif($_GET['specialtype'] == 'debate') { ?>辩论<?php } else { ?>全部主题<?php } ?></a>&nbsp;

                        <a id="th_type" href="javascript:;" class="showmenu xi2" onclick="showMenu(this.id)" style="display: none;">最新</a>

<?php if(empty($_G['forum']['picstyle']) && $_GET['orderby'] == 'lastpost' && (!$_G['setting']['forumseparator'] || !$separatepos) && !$_GET['filter']) { ?>

<a href="javascript:;" onclick="checkForumnew_btn('<?php echo $_G['fid'];?>')" title="查看更新" class="forumrefresh"></a>

<?php } if($_GET['filter'] == 'hot') { ?>

<script src="<?php echo $_G['setting']['jspath'];?>calendar.js?<?php echo VERHASH;?>" type="text/javascript"></script>

<span><?php echo $ctime;?></span>

<img src="<?php echo IMGDIR;?>/date_magnify.png" class="cur1" alt="" id="hottime" value="<?php echo $ctime;?>" fid="<?php echo $_G['fid'];?>" onclick="showcalendar(event, this, false, false, false, false, function(){viewhot(this);});" align="absmiddle" />

<?php } ?>

<span id="clearstickthread" style="display: none;">

<a href="javascript:;" onclick="clearStickThread()" class="xi2" title="显示置顶" style="margin-right: 22px; display: inline-block;">显示置顶</a>

</span>


</div>

<?php } else { ?>

标题

<?php } ?>

</th>

<?php if(empty($_G['forum']['picstyle'])) { if(CURMODULE == 'guide') { ?>

<td class="by" style="width: 0; border-top: 0;"></td>

<?php } ?>

<td class="by" style="width: 0; border-top: 0;"></td>

<td class="num" style="width: 0; border-top: 0;"></td>

<td class="by" style="width: 0; border-top: 0;"></td>

<?php } else { ?>

<td class="by" colspan="3" style="width: 70px; border-top: 0; padding-left: 12px;">

<a<?php if(empty($_G['cookie']['forumdefstyle'])) { ?> href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;forumdefstyle=yes" class="chked"<?php } else { ?> href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;forumdefstyle=no" class="unchk"<?php } ?> title="图片模式浏览帖子">图片模式</a>

</td>

<?php } ?>

</tr>

</table>

</div>
</div>
</div>
<?php if($formsearch_html) { ?>
    <form method="post" autocomplete="off" name="searhsort" id="searhsort" class="bbs bm_c pns mfm cl" action="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=sortid&amp;sortid=<?php echo $_GET['sortid'];?>">
        <input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />
        <?php echo $formsearch_html;?>
        <div class="ptm cl"><button type="submit" class="pn pnc" name="searchsortsubmit"><em>搜索</em></button></div>
    </form>
<?php } ?>
</div>
<?php } } ?>

<div class="bm_c">

<?php if(empty($_G['forum']['picstyle']) || $_G['cookie']['forumdefstyle']) { ?>

<script type="text/javascript">var lasttime = <?php echo $_G['timestamp'];?>;var listcolspan= '<?php if(!$_GET['archiveid'] && $_G['forum']['ismoderator']) { ?>6<?php } else { ?>5<?php } ?>';</script>

<?php } ?>

<div id="forumnew" style="display:none"></div>

<form method="post" autocomplete="off" name="moderate" id="moderate" action="forum.php?mod=topicadmin&amp;action=moderate&amp;fid=<?php echo $_G['fid'];?>&amp;infloat=yes&amp;nopost=yes">

<input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />

<input type="hidden" name="listextra" value="<?php echo $extra;?>" />

<table summary="forum_<?php echo $_G['fid'];?>" cellspacing="0" cellpadding="0" id="threadlisttableid">

<?php if((!$simplestyle || !$_G['forum']['allowside'] && $page == 1) && !empty($announcement)) { ?>

<tbody>

<tr>

<td class="icn" style="border-top: 0;"></td>

<?php if($_G['forum']['ismoderator'] && !$_GET['archiveid']) { ?><td class="o" style="border-top: 0;"></td><?php } ?>

<th style="border-top: 0;"></th>

<td class="by" style="border-top: 0;">

</td>

<td class="num" style="border-top: 0;"></td>

<td class="by" style="border-top: 0;"></td>

</tr>

</tbody>

<?php } if(!$separatepos || !$_G['setting']['forumseparator']) { ?>

<tbody id="separatorline" class="emptb"><tr><td class="icn"></td><?php if(!$_GET['archiveid'] && $_G['forum']['ismoderator']) { ?><td class="o"></td><?php } ?><th></th><?php if(CURMODULE == 'guide') { ?><td class="by"></td><?php } ?><td class="by"></td><td class="num"></td><td class="by"></td></tr></tbody>

<?php } if($_G['forum_threadcount']) { if(empty($_G['forum']['picstyle']) || $_G['cookie']['forumdefstyle']) { if(isset($_G['forum_threadlist']) && is_array($_G['forum_threadlist'])) foreach($_G['forum_threadlist'] as $key => $thread) { if($_G['setting']['forumseparator'] == 1 && $separatepos == $key + 1) { ?>

<tbody id="separatorline">

<tr class="ts">

<td>&nbsp;</td>

<?php if($_G['forum']['ismoderator'] && !$_GET['archiveid']) { ?><td>&nbsp;</td><?php } ?>

<th><?php if(empty($_G['forum']['picstyle']) && $_GET['orderby'] == 'lastpost' && !$_GET['filter']) { ?><a href="javascript:;" onclick="checkForumnew_btn('<?php echo $_G['fid'];?>')" title="查看更新" class="forumrefresh">版块主题</a><?php } else { ?>&nbsp;<?php } ?></th><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>

</tr>

</tbody>

<script type="text/javascript">hideStickThread();</script>

<?php } if($separatepos <= $key + 1) { ?><?php echo adshow("threadlist");?><?php } ?>
                            <?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_filter_extra'])) echo $_G['setting']['pluginhooks']['forumdisplay_filter_extra'];?>
<tbody id="<?php echo $thread['id'];?>"<?php if($_G['hiddenexists'] && $thread['hidden']) { ?> style='display:none'<?php } ?>>

<tr>

<td class="icn">
</td>

<div class="<?php echo $thread['folder'];?> thread_tit" style="position: relative;">


<div class="titlePic cl" style="display: block; width: 100%; margin-bottom: 0;"><div class="titlePic-left" style="float: left;"><?php if($thread['authorid'] && $thread['author']) { ?>
<a target="_blank" href="home.php?mod=space&amp;uid=<?php echo $thread['authorid'];?>">
              <img src="uc_server/avatar.php?uid=<?php echo $thread['authorid'];?>&amp;size=middle" class="mio-lazy-img" style="width: 52px; height: 52px;">
            </a>
<?php } else { ?>
<a target="_blank">
              <img src="template/quater_2023_dji/src/hidden.png" class="mio-lazy-img" style="width: 52px; height: 52px;">
            </a>
<?php } ?><div class="lazy-load-mask" style="opacity: 0;"></div><div class="lazy-load-line"></div></div>
<div class="right_info cl" style="float: left; width: calc(100% - 120px);">
<div class="cl" style="margin: 2px 0 0 0;">
<?php if(in_array($thread['displayorder'], array(1, 2, 3, 4))) { ?>

<a href="javascript:void(0);" onclick="hideStickThread('<?php echo $thread['tid'];?>')" class="showhide y" title="隐藏置顶帖">隐藏置顶帖</a></em>

<?php } ?>

<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_thread'][$key])) echo $_G['setting']['pluginhooks']['forumdisplay_thread'][$key];?>

<?php if(!$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])) { $thread[tid]=$thread[closed];?><?php } ?>

<?php echo $thread['typehtml'];?> <?php echo $thread['sorthtml'];?>

<?php if($thread['moved']) { ?>

移动:<?php $thread[tid]=$thread[closed];?><?php } ?>
<div class="card-circle" style="float: left; margin: 3px 8px 0 0;"><span style="display: inline-block;
    background: #44a8f2;
    color: white;
    padding: 2px 10px;
    line-height: 16px;
    font-size: 12px;"><?php echo $_G['cache']['forums'][$thread['fid']]['name'];?></span></div>
<a href="forum.php?mod=viewthread&amp;tid=<?php echo $thread['tid'];?>&amp;<?php if($_GET['archiveid']) { ?>archiveid=<?php echo $_GET['archiveid'];?>&amp;<?php } ?>extra=<?php echo $extra;?>"<?php echo $thread['highlight'];?><?php echo $thread['highlight'];?><?php if($thread['isgroup'] == 1 || $thread['forumstick']) { ?> target="_blank"<?php } else { ?> onclick="atarget(this)"<?php } ?> class="s xst"><?php echo $thread['subject'];?></a>

<?php if($thread['icon'] >= 0) { ?>

<img src="<?php echo STATICURL;?>image/stamp/<?php echo $_G['cache']['stamps'][$thread['icon']]['url'];?>" alt="<?php echo $_G['cache']['stamps'][$thread['icon']]['text'];?>" align="absmiddle" / style="margin-top: -4px; display: none;">

<?php } if($thread['rushreply']) { ?>

<img src="<?php echo IMGDIR;?>/rushreply_s.png" alt="抢楼" align="absmiddle" / style="margin-top: -4px; display: none;">

<?php if($rushinfo[$thread['tid']]) { ?>

<span id="rushtimer_<?php echo $thread['tid'];?>"> 【还有 <span id="rushtimer_body_<?php echo $thread['tid'];?>"></span> <script language="javascript">settimer(<?php echo $rushinfo[$thread['tid']]['timer'];?>, 'rushtimer_body_<?php echo $thread['tid'];?>');</script><?php if($rushinfo[$thread['tid']]['timertype'] == 'start') { ?> 开始 <?php } else { ?> 结束 <?php } ?> 】</span>

<?php } } if($stemplate && $sortid) { ?><?php echo $stemplate[$sortid][$thread['tid']];?><?php } if($thread['readperm']) { ?> - [阅读权限 <span class="xw1"><?php echo $thread['readperm'];?></span>]<?php } if($thread['price'] > 0) { if($thread['special'] == '3') { ?>

- <a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=specialtype&amp;specialtype=reward<?php echo $forumdisplayadd['specialtype'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>&amp;rewardtype=1" title="只看进行中的"><span class="xi1">[悬赏 <span class="xw1"><?php echo $thread['price'];?></span> <?php echo $_G['setting']['extcredits'][$_G['setting']['creditstransextra'][2]]['unit'];?><?php echo $_G['setting']['extcredits'][$_G['setting']['creditstransextra'][2]]['title'];?>]</span></a>

<?php } else { ?>

- [售价 <span class="xw1"><?php echo $thread['price'];?></span> <?php echo $_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]]['unit'];?><?php echo $_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]]['title'];?>]

<?php } } elseif($thread['special'] == '3' && $thread['price'] < 0) { ?>

- <a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=specialtype&amp;specialtype=reward<?php echo $forumdisplayadd['specialtype'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>&amp;rewardtype=2" title="只看已解决的">[已解决]</a>

<?php } if($thread['attachment'] == 2) { ?>

<img src="template/quater_2023_dji/src/forum_icon/image_s.gif" alt="attach_img" title="图片附件" align="absmiddle" / style="margin-top: -4px; display: none;">

<?php } elseif($thread['attachment'] == 1) { ?>

<img src="template/quater_2023_dji/src/forum_icon/common.gif" alt="attachment" title="附件" align="absmiddle" / style="margin-top: -4px; display: none;">

<?php } if($thread['mobile']) { ?>

<img src="<?php echo IMGDIR;?>/mobile-attach-<?php echo $thread['mobile'];?>.png" alt="手机发帖" align="absmiddle" / style="margin-top: -4px;">

<?php } if($thread['digest'] > 0 && $filter != 'digest') { ?>

<img src="template/quater_2023_dji/src/forum_icon/jinghua_<?php echo $thread['digest'];?>.png" align="absmiddle" alt="digest" title="精华 <?php echo $thread['digest'];?>" / style="margin-top: -4px;">

<?php } if($thread['displayorder'] == 0) { if($thread['recommendicon'] && $filter != 'recommend') { ?>

<img src="template/quater_2023_dji/src/forum_icon/recommend_<?php echo $thread['recommendicon'];?>.gif" align="absmiddle" alt="recommend" title="评价指数 <?php echo $thread['recommends'];?>" / style="margin-top: -4px; display: none;">

<?php } if($thread['heatlevel']) { ?>

<img src="template/quater_2023_dji/src/forum_icon/hot_<?php echo $thread['heatlevel'];?>.gif" align="absmiddle" alt="heatlevel" title="热度: <?php echo $thread['heats'];?>" / style="margin-top: -4px; display: none;">

<?php } if($thread['rate'] > 0) { ?>

<img src="template/quater_2023_dji/src/forum_icon/agree.gif" align="absmiddle" alt="agree" title="帖子被加分" / style="margin-top: -4px; display: none;">

<?php } elseif($thread['rate'] < 0) { ?>

<img src="template/quater_2023_dji/src/forum_icon/disagree.gif" align="absmiddle" alt="disagree" title="帖子被减分" / style="margin-top: -4px; display: none;">

<?php } } if($thread['replycredit'] > 0) { ?>

- <span class="xi1">[回帖奖励 <strong> <?php echo $thread['replycredit'];?></strong> ]</span>

<?php } ?>

<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_thread_subject'][$key])) echo $_G['setting']['pluginhooks']['forumdisplay_thread_subject'][$key];?>

                                        

                                         <a href="forum.php?mod=viewthread&amp;tid=<?php echo $thread['icontid'];?>&amp;<?php if($_GET['archiveid']) { ?>archiveid=<?php echo $_GET['archiveid'];?>&amp;<?php } ?>extra=<?php echo $extra;?>" title="<?php if($thread['displayorder'] == 1) { ?>本版置顶主题 - <?php } if($thread['displayorder'] == 2) { ?>分类置顶主题 - <?php } if($thread['displayorder'] == 3) { ?>全局置顶主题 - <?php } if($thread['displayorder'] == 4) { ?>多版置顶主题 - <?php } if($thread['folder'] == 'lock') { ?>关闭的主题 - <?php } if($thread['special'] == 1) { ?>投票 - <?php } if($thread['special'] == 2) { ?>商品 - <?php } if($thread['special'] == 3) { ?>悬赏 - <?php } if($thread['special'] == 4) { ?>活动 - <?php } if($thread['special'] == 5) { ?>辩论 - <?php } if($thread['folder'] == "new") { ?>有新回复 - <?php } ?>
新窗口打开" target="_blank">

<?php if($thread['folder'] == 'lock') { ?>

<img src="template/quater_2023_dji/src/forum_icon/folder_lock.gif" / style="margin-top: -4px; display: none;">

<?php } elseif($thread['special'] == 1) { ?>

<img src="template/quater_2023_dji/src/forum_icon/pollsmall.gif" alt="投票" / style="margin-top: -4px; display: none;">

<?php } elseif($thread['special'] == 2) { ?>

<img src="template/quater_2023_dji/src/forum_icon/tradesmall.gif" alt="商品" / style="margin-top: -4px; display: none;">

<?php } elseif($thread['special'] == 3) { ?>

<img src="template/quater_2023_dji/src/forum_icon/rewardsmall.gif" alt="悬赏" / style="margin-top: -4px; display: none;">

<?php } elseif($thread['special'] == 4) { ?>

<img src="template/quater_2023_dji/src/forum_icon/activitysmall.gif" alt="活动" / style="margin-top: -4px; display: none;">

<?php } elseif($thread['special'] == 5) { ?>

<img src="template/quater_2023_dji/src/forum_icon/debatesmall.gif" alt="辩论" / style="margin-top: -4px; display: none;">

<?php } elseif(in_array($thread['displayorder'], array(1, 2, 3, 4))) { ?>

<img src="template/quater_2023_dji/src/forum_icon/zhiding_<?php echo $thread['displayorder'];?>.png" alt="<?php echo $_G['setting']['threadsticky'][3-$thread['displayorder']];?>" / style="margin-top: -4px;">

<?php } ?>

</a>



                                        

                                        

<?php if($thread['multipage']) { ?>

<span class="tps" style="display: none;"><?php echo $thread['multipage'];?></span>

<?php } if($thread['weeknew']) { ?>

<a href="forum.php?mod=redirect&amp;tid=<?php echo $thread['tid'];?>&amp;goto=lastpost#lastpost" class="xi1">New</a>

<?php } if(!$thread['forumstick'] && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])) { if($thread['related_group'] == 0 && $thread['closed'] > 1) { $thread[tid]=$thread[closed];?><?php } if($groupnames[$thread['tid']]) { ?>

<span class="fromg xg1"> [来自: <a href="forum.php?mod=group&amp;fid=<?php echo $groupnames[$thread['tid']]['fid'];?>" target="_blank" class="xg1"><?php echo $groupnames[$thread['tid']]['name'];?></a>]</span>

<?php } } ?>
</div>
<div class="cl" style="margin: 6px 0 0 0; color: #C1C1C1;">
<div class="titlePic-right" style="float: left;"><div class="z"><?php if($thread['authorid'] && $thread['author']) { ?>
<a href="home.php?mod=space&amp;uid=<?php echo $thread['authorid'];?>" style="color: #C1C1C1;"><?php echo $thread['author'];?></a>
<?php } else { ?>
<?php echo $_G['setting']['anonymoustext'];?>
<?php } ?></div><div class="z display_none" style="margin: 0 0 0 16px;"><div><?php echo $thread['lastpost'];?> · 近期回复</div></div></div>
<span style="float: left; margin: 0 16px;"><?php echo $thread['views'];?>人查看</span>
<span style="float: left;"><?php echo $thread['replies'];?>条回复</span>
</div>
</div>

<?php if(!$_GET['archiveid'] && $_G['forum']['ismoderator']) { ?>

<div class="y" style="margin: 6px 0 0 0;">

<?php if($thread['fid'] == $_G['fid']) { if($thread['displayorder'] <= 3 || $_G['adminid'] == 1) { ?>

<input onclick="tmodclick(this)" type="checkbox" name="moderate[]" value="<?php echo $thread['tid'];?>" />

<?php } else { ?>

<input type="checkbox" disabled="disabled" />

<?php } } else { ?>

<input type="checkbox" disabled="disabled" />

<?php } ?>

</div>

<?php } ?>

</div>

                                        

                                       

                                        <div class="emt_box" style="display: none;">

                                          <?php if(!empty($_G['setting']['pluginhooks']['time_summary'][$key])) echo $_G['setting']['pluginhooks']['time_summary'][$key];?>

                                        </div>
                                        <div class="list_au_info cl" style="padding-top: 23px; display: none;"> 

                                        <i class="z">

                                        <?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_author'][$key])) echo $_G['setting']['pluginhooks']['forumdisplay_author'][$key];?>
                                      <span style="margin-left: 0; font-weight: 400; display: none;"><?php if($thread['authorid'] && $thread['author']) { ?>
<a href="home.php?mod=space&amp;uid=<?php echo $thread['authorid'];?>" c="1"<?php if($groupcolor[$thread['authorid']]) { ?> style="color: <?php echo $groupcolor[$thread['authorid']];?>;"<?php } ?>><?php echo $thread['author'];?></a>
<?php } else { ?>
<?php echo $_G['setting']['anonymoustext'];?>
<?php } ?></span>
<em style="padding: 0 2px 0 4px; color: #797776; display: none;" class="display_none"><?php if($thread['lastposter']) { ?><a href="<?php if($thread['digest'] != -2) { ?>home.php?mod=space&username=<?php echo $thread['lastposterenc'];?><?php } else { ?>forum.php?mod=viewthread&tid=<?php echo $thread['tid'];?>&page=<?php echo max(1, $thread['pages']);; } ?>" style="color: #797776;"><?php echo $thread['lastposter'];?></a><?php } else { ?><?php echo $_G['setting']['anonymoustext'];?><?php } ?></em><em class="display_none" style="color: #aaaeb3; display: none;">最后回复于</em><em style="padding-left: 4px; color: #adaaa8; display: none;" class="display_none"><?php echo $thread['lastpost'];?></em>

</i>


                                        <?php if(!$_G['setting']['forumdisplaythreadpreview'] && !($thread['readperm'] && $thread['readperm'] > $_G['group']['readaccess'] && !$_G['forum']['ismoderator'] && $thread['authorid'] != $_G['uid'])) { ?>

<a class="tdpre y" href="javascript:void(0);" onclick="previewThread('<?php echo $thread['tid'];?>', '<?php echo $thread['id'];?>');" style="display: none;">预览</a> 

<?php } ?>

<div class="right y" style="margin: 4px 0 0 0;">
 <div style="font-size: 14px;">
  <div style="float: left; margin: 0 25px 0 0;"><img src="template/quater_2023_dji/portal/menhu/res_.77116916.svg" alt="" style="float: left; margin: 3px 8px 0 0;"><span><?php echo $thread['replies'];?></span></div>
  <div style="float: left;"><img src="template/quater_2023_dji/portal/menhu/zan.8abff612.svg" alt="" style="float: left; margin: -1px 8px 0 0;"><span><?php echo $thread['recommends'];?></span></div>
 </div>
</div>


                                        </div>

                                        

                                        

</div>

</tr>

</tbody>

<?php } ?>

</table><!-- end of table "forum_G[fid]" branch 1/3 -->

<?php if($_G['hiddenexists']) { ?>							

<div id="hiddenthread"<?php if($thread['hidden']) { ?> class="last"<?php } ?>><a href="javascript:;" onclick="display_blocked_thread()">还有一些帖子被系统自动隐藏，点此展开</a></div>

<?php } } else { ?>

</table><!-- end of table "forum_G[fid]" branch 2/3 -->
<style type="text/css">
.mn { width: 100% !important}
.sd { display: none}
.tabx_cont { width: calc(100% - 60px) !important; height: 64px !important; line-height: 64px !important; box-sizing: border-box}
.piclist_post { display: block !important}
</style>
                        <div class="cl" style="padding: 20px 0; border: 0;">

<ul id="waterfall" class="ml waterfall cl" style="margin-top: 0;"><?php if(isset($_G['forum_threadlist']) && is_array($_G['forum_threadlist'])) foreach($_G['forum_threadlist'] as $key => $thread) { if($_G['hiddenexists'] && $thread['hidden']) { continue;?><?php } if(!$thread['forumstick'] && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])) { if($thread['related_group'] == 0 && $thread['closed'] > 1) { $thread[tid]=$thread[closed];?><?php } } $waterfallwidth = $_G['setting']['forumpicstyle']['thumbwidth'] + 24;?><li style="width:<?php echo $waterfallwidth;?>px">

<?php if(!$_GET['archiveid'] && $_G['forum']['ismoderator']) { ?>

<div style="position:absolute;margin:1px;padding:2px;background:#FFF">

<?php if($thread['fid'] == $_G['fid']) { if($thread['displayorder'] <= 3 || $_G['adminid'] == 1) { ?>

<input onclick="tmodclick(this)" type="checkbox" name="moderate[]" value="<?php echo $thread['tid'];?>" />

<?php } else { ?>

<input type="checkbox" disabled="disabled" />

<?php } } else { ?>

<input type="checkbox" disabled="disabled" />

<?php } ?>

</div>

<?php } ?>

<div class="c cl">

<a href="forum.php?mod=viewthread&amp;tid=<?php echo $thread['tid'];?>&amp;<?php if($_GET['archiveid']) { ?>archiveid=<?php echo $_GET['archiveid'];?>&amp;<?php } ?>extra=<?php echo $extra;?>"<?php echo $thread['highlight'];?> <?php if($thread['isgroup'] == 1 || $thread['forumstick'] || CURMODULE == 'guide') { ?> target="_blank"<?php } else { ?> onclick="atarget(this)"<?php } ?> title="<?php echo $thread['subject'];?>" class="z">

<?php if($thread['cover']) { ?>

<img src="<?php echo $thread['coverpath'];?>" alt="<?php echo $thread['subject'];?>" width="<?php echo $_G['setting']['forumpicstyle']['thumbwidth'];?>" />

<?php } else { ?>

<span class="nopic" style="width:<?php echo $_G['setting']['forumpicstyle']['thumbwidth'];?>px; height:<?php echo $_G['setting']['forumpicstyle']['thumbwidth'];?>px;"></span>

<?php } ?>

</a>

</div>

<h3 class="xw0">

<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_thread'][$key])) echo $_G['setting']['pluginhooks']['forumdisplay_thread'][$key];?>

<a href="forum.php?mod=viewthread&amp;tid=<?php echo $thread['tid'];?>&amp;<?php if($_GET['archiveid']) { ?>archiveid=<?php echo $_GET['archiveid'];?>&amp;<?php } ?>extra=<?php echo $extra;?>"<?php echo $thread['highlight'];?><?php echo $thread['highlight'];?><?php if($thread['isgroup'] == 1 || $thread['forumstick']) { ?> target="_blank"<?php } else { ?> onclick="atarget(this)"<?php } ?> title="<?php echo $thread['subject'];?>"><?php echo $thread['subject'];?></a>

</h3>

<div class="auth cl">

<cite class="xg1 y">

喜欢: <?php if($thread['recommends']) { ?><?php echo $thread['recommends'];?><?php } else { ?>0<?php } ?>

 &nbsp; 回复: <a href="forum.php?mod=viewthread&amp;tid=<?php echo $thread['tid'];?>&amp;extra=<?php echo $extra;?>" title="<?php echo $thread['replies'];?> 回复"><?php echo $thread['replies'];?></a>

</cite>

<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_author'][$key])) echo $_G['setting']['pluginhooks']['forumdisplay_author'][$key];?>

<?php if($thread['authorid'] && $thread['author']) { ?>

<a href="home.php?mod=space&amp;uid=<?php echo $thread['authorid'];?>"><?php echo $thread['author'];?></a><?php if(!empty($verify[$thread['authorid']])) { ?> <?php echo $verify[$thread['authorid']];?><?php } } else { ?>

<?php echo $_G['setting']['anonymoustext'];?>

<?php } ?>

</div>

</li>

<?php } ?>

</ul>

                        </div>

<div id="tmppic" style="display: none;"></div>

<script src="<?php echo $_G['setting']['jspath'];?>redef.js?<?php echo VERHASH;?>" type="text/javascript"></script>

<script type="text/javascript" reload="1">

var wf = {};



_attachEvent(window, "load", function () {

if($("waterfall")) {

wf = waterfall();

}



<?php if($page < $_G['page_next'] && !$subforumonly) { ?>

var page = <?php echo $page;?> + 1,

maxpage = Math.min(<?php echo $page;?> + 10,<?php echo $maxpage;?> + 1),

stopload = 0,

scrolltimer = null,

tmpelems = [],

tmpimgs = [],

markloaded = [],

imgsloaded = 0,

loadready = 0,

showready = 1,

nxtpgurl = 'forum.php?mod=forumdisplay&fid=<?php echo $_G['fid'];?>&filter=<?php echo $filter;?>&orderby=<?php echo $_GET['orderby'];?><?php echo $forumdisplayadd['page'];?>&page=',

wfloading = "<img src=\"<?php echo IMGDIR;?>/loading.gif\" alt=\"\" width=\"16\" height=\"16\" class=\"vm\" /> 加载中...",

pgbtn = $("pgbtn").getElementsByTagName("a")[0];



function loadmore() {

var url = nxtpgurl + page + '&t=' + parseInt((+new Date()/1000)/(Math.random()*1000));

var x = new Ajax("HTML");

x.get(url, function (s) {

s = s.replace(/\n|\r/g, "");

if(s.indexOf("id=\"pgbtn\"") == -1) {

$("pgbtn").style.display = "none";

stopload++;

window.onscroll = null;

}



s = s.substring(s.indexOf("<ul id=\"waterfall\""), s.indexOf("<div id=\"tmppic\""));

s = s.replace("id=\"waterfall\"", "");

$("tmppic").innerHTML = s;

loadready = 1;

});

}



window.onscroll = function () {

if(scrolltimer == null) {

scrolltimer = setTimeout(function () {

try {

if(page < maxpage && stopload < 2 && showready && ((document.documentElement.scrollTop || document.body.scrollTop) + document.documentElement.clientHeight + 500) >= document.documentElement.scrollHeight) {

pgbtn.innerHTML = wfloading;

loadready = 0;

showready = 0;

loadmore();

tmpelems = $("tmppic").getElementsByTagName("li");

var waitingtimer = setInterval(function () {

stopload >= 2 && clearInterval(waitingtimer);

if(loadready && stopload < 2) {

if(!tmpelems.length) {

page++;

pgbtn.href = nxtpgurl + Math.min(page, <?php echo $maxpage;?>);

pgbtn.innerHTML = "下一页 &raquo;";

showready = 1;

clearInterval(waitingtimer);

}

for(var i = 0, j = tmpelems.length; i < j; i++) {

if(tmpelems[i]) {

tmpimgs = tmpelems[i].getElementsByTagName("img");

imgsloaded = 0;

for(var m = 0, n = tmpimgs.length; m < n; m++) {

tmpimgs[m].onerror = function () {

this.style.display = "none";

};

markloaded[m] = tmpimgs[m].complete ? 1 : 0;

imgsloaded += markloaded[m];

}

if(imgsloaded == tmpimgs.length) {

$("waterfall").appendChild(tmpelems[i]);

wf = waterfall({

"index": wf.index,

"totalwidth": wf.totalwidth,

"totalheight": wf.totalheight,

"columnsheight": wf.columnsheight

});

}

}

}

}

}, 40);

}

} catch(e) {}

scrolltimer = null;

}, 320);

}

};

<?php } ?>



});



</script>

<?php } } else { ?>

<tbody class="bw0_all"><tr><th colspan="<?php if(!$_GET['archiveid'] && $_G['forum']['ismoderator']) { ?>6<?php } else { ?>5<?php } ?>"><p class="emp">本版块或指定的范围内尚无主题</p></th></tr></tbody>

</table><!-- end of table "forum_G[fid]" branch 3/3 -->

<?php } if($_G['forum']['ismoderator'] && $_G['forum_threadcount']) { include template('forum/topicadmin_modlayer'); } ?>

</form>

</div>

<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_threadlist_bottom'])) echo $_G['setting']['pluginhooks']['forumdisplay_threadlist_bottom'];?>

</div>



<?php if(!IS_ROBOT) { ?>

<div id="filter_special_menu" class="p_pop" style="display:none" change="location.href='forum.php?mod=forumdisplay&fid=<?php echo $_G['fid'];?>&filter='+$('filter_special').value">

<ul>

<li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>">全部主题</a></li>

<?php if($showpoll) { ?><li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=specialtype&amp;specialtype=poll<?php echo $forumdisplayadd['specialtype'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>">投票</a></li><?php } if($showtrade) { ?><li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=specialtype&amp;specialtype=trade<?php echo $forumdisplayadd['specialtype'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>">商品</a></li><?php } if($showreward) { ?><li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=specialtype&amp;specialtype=reward<?php echo $forumdisplayadd['specialtype'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>">悬赏</a></li><?php } if($showactivity) { ?><li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=specialtype&amp;specialtype=activity<?php echo $forumdisplayadd['specialtype'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>">活动</a></li><?php } if($showdebate) { ?><li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=specialtype&amp;specialtype=debate<?php echo $forumdisplayadd['specialtype'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>">辩论</a></li><?php } ?>

</ul>

</div>

    <div id="th_type_menu" class="p_pop" style="display:none">

<ul>

<li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=lastpost&amp;orderby=lastpost<?php echo $forumdisplayadd['lastpost'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2<?php if($_GET['filter'] == 'lastpost') { ?> xw1<?php } ?>">最新</a></li>

<li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=heat&amp;orderby=heats<?php echo $forumdisplayadd['heat'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2<?php if($_GET['filter'] == 'heat') { ?> xw1<?php } ?>">热门</a></li>

<li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=hot" class="xi2<?php if($_GET['filter'] == 'hot') { ?> xw1<?php } ?>">热帖</a></li>

<li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=digest&amp;digest=1<?php echo $forumdisplayadd['digest'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2<?php if($_GET['filter'] == 'digest') { ?> xw1<?php } ?>">精华</a></li>

</ul>

</div>

<div id="filter_reward_menu" class="p_pop" style="display:none" change="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=specialtype&amp;specialtype=reward<?php echo $forumdisplayadd['specialtype'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>&amp;rewardtype='+$('filter_reward').value">

<ul>

<li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=specialtype&amp;specialtype=reward<?php echo $forumdisplayadd['specialtype'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>">全部悬赏</a></li>

<?php if($showpoll) { ?><li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=specialtype&amp;specialtype=reward<?php echo $forumdisplayadd['specialtype'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>&amp;rewardtype=1">进行中</a></li><?php } if($showtrade) { ?><li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=specialtype&amp;specialtype=reward<?php echo $forumdisplayadd['specialtype'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>&amp;rewardtype=2">已解决</a></li><?php } ?>

</ul>

</div>

<div id="filter_dateline_menu" class="p_pop" style="display:none">

<ul class="pop_moremenu">

<li>排序: 

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=author&amp;orderby=dateline<?php echo $forumdisplayadd['author'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" <?php if($_GET['orderby'] == 'dateline') { ?>class="xw1"<?php } ?>>发帖时间</a><span class="pipe">|</span>

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=reply&amp;orderby=replies<?php echo $forumdisplayadd['reply'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" <?php if($_GET['orderby'] == 'replies') { ?>class="xw1"<?php } ?>>回复/查看</a><span class="pipe">|</span>

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=reply&amp;orderby=views<?php echo $forumdisplayadd['view'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" <?php if($_GET['orderby'] == 'views') { ?>class="xw1"<?php } ?>>查看</a>

</li>

<li>时间: 

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" <?php if(!$_GET['dateline']) { ?>class="xw1"<?php } ?>>全部时间</a><span class="pipe">|</span>

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline&amp;dateline=86400<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" <?php if($_GET['dateline'] == '86400') { ?>class="xw1"<?php } ?>>一天</a><span class="pipe">|</span>

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline&amp;dateline=172800<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" <?php if($_GET['dateline'] == '172800') { ?>class="xw1"<?php } ?>>两天</a><span class="pipe">|</span>

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline&amp;dateline=604800<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" <?php if($_GET['dateline'] == '604800') { ?>class="xw1"<?php } ?>>一周</a><span class="pipe">|</span>

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline&amp;dateline=2592000<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" <?php if($_GET['dateline'] == '2592000') { ?>class="xw1"<?php } ?>>一个月</a><span class="pipe">|</span>

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline&amp;dateline=7948800<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" <?php if($_GET['dateline'] == '7948800') { ?>class="xw1"<?php } ?>>三个月</a>

</li>

</ul>

</div>

<?php if(!$_G['setting']['closeforumorderby']) { ?>

<div id="filter_orderby_menu" class="p_pop" style="display:none">

<ul>

<li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>">默认排序</a></li>

<li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=author&amp;orderby=dateline<?php echo $forumdisplayadd['author'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>">发帖时间</a></li>

<li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=reply&amp;orderby=replies<?php echo $forumdisplayadd['reply'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>">回复/查看</a></li>

<li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=reply&amp;orderby=views<?php echo $forumdisplayadd['view'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>">查看</a></li>

<li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=lastpost&amp;orderby=lastpost<?php echo $forumdisplayadd['lastpost'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>">最后发表</a></li>

<li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=heat&amp;orderby=heats<?php echo $forumdisplayadd['heat'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>">热门</a></li>

</ul>

</div>

<?php } } if($multipage && $filter != 'hot') { ?>

<div style="display: none;">

<?php if(!($_G['forum']['picstyle'] && !$_G['cookie']['forumdefstyle'])) { ?>

<a class="bm_h" href="javascript:;" rel="<?php echo $multipage_more;?>" curpage="<?php echo $page;?>" id="autopbn" totalpage="<?php echo $maxpage;?>" picstyle="<?php echo $_G['forum']['picstyle'];?>" forumdefstyle="<?php echo $_G['cookie']['forumdefstyle'];?>">下一页</a>

<script src="<?php echo $_G['setting']['jspath'];?>autoloadpage.js?<?php echo VERHASH;?>" type="text/javascript"></script>

<?php } else { ?>

<div id="pgbtn" class="pgbtn"><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=<?php echo $filter;?>&amp;orderby=<?php echo $_GET['orderby'];?><?php echo $forumdisplayadd['page'];?>&amp;<?php echo $multipage_archive;?>&amp;page=<?php echo $nextpage;?>" hidefocus="true">下一页 &raquo;</a></div>

<?php } ?>

</div>

<?php } ?>

<div class="cl" style="background: #FFFFFF;">
 <div class="cl" style="padding: 25px; margin: 0; border-top: 0; background: #FFFFFF;">
    <span id="fd_page_bottom"><?php echo $multipage;?></span>
 </div>
</div>

<div class="bm bw0 pgs cl" style="margin: 20px 0; display: none;">
<span class="pgb y"><a href="forum.php">返&nbsp;回</a></span>
<?php if(!$_GET['archiveid']) { ?><a id="newspecialtmp" onClick="showWindow('newthread', 'forum.php?mod=post&amp;action=newthread&amp;fid=<?php echo $_G['fid'];?>')" href="javascript:;" title="发布新帖" style="margin: 0;">发布新帖</a><?php } ?>
<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_postbutton_bottom'])) echo $_G['setting']['pluginhooks']['forumdisplay_postbutton_bottom'];?>
</div><?php } else { ?><div id="threadlist" class="bm bmw"<?php if($_G['uid']) { ?> style="position: relative;"<?php } ?>>
<?php if($quicksearchlist && !$_GET['archiveid']) { ?><script type="text/javascript">
var forum_optionlist = <?php if($forum_optionlist) { ?>'<?php echo $forum_optionlist;?>'<?php } else { ?>''<?php } ?>;
</script>
<script src="<?php echo $_G['setting']['jspath'];?>threadsort.js?<?php echo VERHASH;?>" type="text/javascript"></script>
<style type="text/css">
.ptn.pbn { width: 1212px; border-radius: 4px}
.tsm th { color: #999999}
.tsm th {
    padding: 5px 0 5px 10px;
    border: none;
    vertical-align: top;
}
.tsm td {
    padding: 5px 10px 5px 0;
    border: none;
    vertical-align: top;
}
.tsm th {
    padding-left: 20px;
    width: 50px !important;
}
.tl .tf { padding: 0 !important}
.tl .tsm .th, .tl .tsm th, .tl .tsm td { border: 0}
#thread_types, .annoucement, .tabx_cont, .pgb, .pgs #newspecialtmp { display: none}

.listbox { width: 1140px; margin: 0; border-radius: 0 !important; background: none !important}

body { background: #F6F6F6}
.bm, .thread_box { box-shadow: none !important; background: none !important}

#threadlist { padding: 0 !important}

.ptn.pbn { padding: 10px 0 !important; margin: 5px 0 20px 0 !important; border-bottom: 0 !important; background: #FFFFFF}
#hour24 { background: #FFFFFF}
.tsm { margin: 0; font-size: 14px}
.tsm th { padding-left: 20px}

.drag, .sd, #pt { display: none}
.mn { width: 100% !important}

.tsm .a a { font-weight: 400 !important; color: #91c700 !important}

#thread_types { padding-top: 0 !important}/
.td_tit, .tpi, .pgs #newspecialtmp, #thread_types, .bm.bml.pbn, .y.pgb a { display: none}

.liebiao li { position: relative; float: left; width: 208px; margin: 0 20px 20px 0; border-radius: 4px; box-shadow: 0 3px 12px rgba(0,0,0,0.1); overflow: hidden; background: #FFFFFF}
.liebiao li h3 { height: 20px; line-height: 20px; padding: 0 10px; margin: 10px 0; font-weight: 400}
.score[data-v-4f4c42cd] {
    position: absolute;
    text-align: center;
    line-height: 22px;
display: block;
    font-size: 12px;
    right: 0;
    top: 0;
    width: 40px;
    height: 22px;
    font-weight: 700;
    color: #fff;
    background: #ffb800;
    border-radius: 0 10px 0 10px;
}
.pcb h1, .pcb h2 { margin: 0}
.bg-white {
    background-color: #fff;
}
.tsj-book-cover { float: left; width: 90px; height: 130px; margin-right: 15px; box-shadow: 0 1px 1px 0 rgb(0 0 0 / 14%), 0 2px 1px -1px rgb(0 0 0 / 20%), 0 1px 3px 0 rgb(0 0 0 / 12%); border-radius: 2px; overflow: hidden}
.tsj-book-cover img { width: 90px; height: 130px; border-radius: 2px}
.flex-col { float: left; width: 260px}
.text-color-high { color: rgba(0,0,0,.87); font-size: 18px !important; margin-bottom: 3px !important}
.text-color-medium { color: rgba(0,0,0,.6)}
.text-sm { font-size: 14px}
.leading-normal { line-height: 26px}
#tsj-book-star-chart { float: right; padding-left: 18px; border-left: 1px solid rgb(234, 234, 234); margin-right: 35px}
.text-xs { font-size: 12px}
.text-color-low { color: rgba(0,0,0,.4)}
.leading-snug { float: left; color: rgb(250, 158, 20)}
.text-4xl { font-size: 36px}
.ml-1 { margin-left: 5px}
.tsj-rate {
width: 125px;
    padding-bottom: 10px;
background: url(template/quater_2023_dji/src/bk.png) no-repeat left top
}
.tsj-rate .tsj-rate__star {
    display: inline-block;
    font-weight: 100;
    width: 24px;
    height: 19px;
    font-size: 16px;
    color: #e0e0e0;
    text-align: center;
    vertical-align: middle;
}
.text-xss {
    font-size: 12px;
}
.mr-2 { float: left}
.w-full.items-center { float: left; margin-left: 8px}
.mr-1 {
    margin-right: 5px;
}
.h-2 {
    height: 8px;
}
.rounded-xl {
float: left;
margin-right: 10px;
height: 22px;
line-height: 22px;
padding: 0 10px !important;
border: 1px solid #4caf50 !important;
color: #4caf50 !important;
    border-radius: 22px;
}
.pt-2 {
    padding-top: 10px;
}
.max-l-2 {
    max-height: 48px;
}
.max-l-1 { max-height: none !important}
.whitespace-pre-line {}

.text-justify {
    text-align: justify;
}
.relative {
    position: relative;
}
.overflow-hidden {
    overflow: hidden;
}
.leading-relaxed {
    line-height: 26px;
overflow: hidden
}
.text-color-primary {
    color: #4caf50;
}

.z-10 {
    z-index: 10;
}
.bottom-0 {
    bottom: 0;
}
.right-0 {
    right: 0;
}
.absolute {
    position: absolute;
}
.py-1 {
    padding-top: 5px;
    padding-bottom: 10px;
}
.btn-primary, .btn-quaternary, .btn-secondary, .btn-tertiary {
    display: inline-block;
    position: relative;
    margin: 0;
    background: transparent;
    border: none;
    outline: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    color: #000;
    min-width: 64px;
    overflow: hidden;
    font-size: 14px;
    line-height: 1;
    opacity: 1;
    padding: 0 16px;
    text-align: center;
    line-height: 34px;
    vertical-align: middle;
    letter-spacing: 0;
    will-change: box-shadow;
    transition: box-shadow .2s cubic-bezier(.4,0,1,1),background-color .2s cubic-bezier(.4,0,.2,1),color .2s cubic-bezier(.4,0,.2,1);
}
.btn-quaternary.tsj-button--colored, .btn-secondary, .btn-tertiary, .btn-tertiary.tsj-button--colored {
    color: #4caf50 !important;
}
.btn-quaternary.tsj-button--colored.tsj-button--outlined, .btn-secondary, .btn-secondary.tsj-button--outlined, .btn-tertiary.tsj-button--colored.tsj-button--outlined, .btn-tertiary.tsj-button--outlined {
    border: 1px solid #4caf50;
}
.btn-primary, .btn-quaternary, .btn-quaternary.tsj-button--ripple, .btn-secondary, .btn-tertiary, .btn-tertiary.tsj-button--ripple {
    position: relative;
    overflow: hidden;
width: 206px
}
.btn-primary {
    background-color: hsla(0,0%,62%,.2);
}
.btn-primary, .btn-primary.tsj-button--colored {
    background-color: #4caf50;
    color: #fff;
}
.mx-2 {
    margin-left: 10px;
    margin-right: 10px;
}
.max-l-1 .read_all { display: none}
.max-l-1 .read_all1 { display: block !important}
.author { position: absolute; padding: 0 10px; height: 22px; line-height: 22px; background: rgba(0,0,0,0.5); color: #FFFFFF; top: 186px; right: 0; font-size: 12px}
.author a { color: #FFFFFF !important; font-size: 12px}
.tf a.xi2 { display: inline-block; padding: 0 15px !important; height: 32px; line-height: 32px; color: #333333; background: #F6F6F6 !important; border-radius: 6px; margin-right: 10px !important; font-weight: 400 !important}
.tf a.xi2.xw1 { color: #FFFFFF; background: #ffb800 !important; font-weight: 400 !important}
.fenye, .fenye1 { background: none !important}
</style><?php if(isset($quicksearchlist) && is_array($quicksearchlist)) foreach($quicksearchlist as $optionid => $option) { $formsearch = '';?>        <?php if(getstatus($option['search'], 1)) { ?>
        <?php
$__VERHASH = VERHASH;$formsearch = <<<EOF

            <div style="
EOF;
 if($option['type'] == 'checkbox') { 
$formsearch .= <<<EOF
clear:left;padding-bottom: 5px;
EOF;
 } else { 
$formsearch .= <<<EOF
float: left;width: 48%;height: 30px; overflow: hidden;
EOF;
 } 
$formsearch .= <<<EOF
">
                <span style="padding-right: 1em;">{$option['title']}:</span>
                
EOF;
 if(in_array($option['type'], array('radio', 'checkbox', 'select', 'range'))) { 
$formsearch .= <<<EOF

                    <span id="select_{$option['identifier']}">
                    
EOF;
 if($option['type'] == 'select') { 
$formsearch .= <<<EOF

                        
EOF;
 if($_GET['searchoption'][$optionid]['value']) { 
$formsearch .= <<<EOF

                            <script type="text/javascript">
                                changeselectthreadsort('{$_GET['searchoption'][$optionid]['value']}', {$optionid}, 'search');
                            </script>
                        
EOF;
 } else { 
$formsearch .= <<<EOF

                            <select name="searchoption[{$optionid}][value]" id="{$option['identifier']}" onchange="changeselectthreadsort(this.value, '{$optionid}', 'search');" class="ps vm">
                                <option value="0">请选择</option>
                            
EOF;
 if(isset($option['choices']) && is_array($option['choices'])) foreach($option['choices'] as $id => $value) { 
$formsearch .= <<<EOF
                                
EOF;
 if(!$value['foptionid']) { 
$formsearch .= <<<EOF

                                <option value="{$id}">{$value['content']} 
EOF;
 if($value['level'] != 1) { 
$formsearch .= <<<EOF
&raquo;
EOF;
 } 
$formsearch .= <<<EOF
</option>
                                
EOF;
 } 
$formsearch .= <<<EOF

                            
EOF;
 } 
$formsearch .= <<<EOF

                            </select>
<input type="hidden" name="searchoption[{$optionid}][type]" value="{$option['type']}">
                        
EOF;
 } 
$formsearch .= <<<EOF

                    
EOF;
 } elseif($option['type'] != 'checkbox') { 
$formsearch .= <<<EOF

                        <select name="searchoption[{$optionid}][value]" id="{$option['identifier']}" class="ps vm">
                            <option value="0">请选择</option>
                        
EOF;
 if(isset($option['choices']) && is_array($option['choices'])) foreach($option['choices'] as $id => $value) { 
$formsearch .= <<<EOF
                            <option value="{$id}" 
EOF;
 if($_GET['searchoption'][$optionid]['value'] == $id) { 
$formsearch .= <<<EOF
selected="selected"
EOF;
 } 
$formsearch .= <<<EOF
>{$value}</option>
                        
EOF;
 } 
$formsearch .= <<<EOF

                        </select>
                        <input type="hidden" name="searchoption[{$optionid}][type]" value="{$option['type']}">
                    
EOF;
 } else { 
$formsearch .= <<<EOF

                        
EOF;
 if(isset($option['choices']) && is_array($option['choices'])) foreach($option['choices'] as $id => $value) { 
$formsearch .= <<<EOF
                            <label><input type="checkbox" class="pc" name="searchoption[{$optionid}][value][{$id}]" value="{$id}" 
EOF;
 if(is_array($_GET['searchoption'][$optionid]) && $_GET['searchoption'][$optionid]['value'][$id]) { 
$formsearch .= <<<EOF
checked="checked"
EOF;
 } 
$formsearch .= <<<EOF
>{$value}</label>
                        
EOF;
 } 
$formsearch .= <<<EOF

                        <input type="hidden" name="searchoption[{$optionid}][type]" value="checkbox">
                    
EOF;
 } 
$formsearch .= <<<EOF

                    </span>
                
EOF;
 } else { 
$formsearch .= <<<EOF

                    
EOF;
 if($option['type'] == 'calendar') { 
$formsearch .= <<<EOF

                        <script src="{$_G['setting']['jspath']}calendar.js?{$__VERHASH}" type="text/javascript"></script>
                        <input type="text" name="searchoption[{$optionid}][value]" size="15" class="px vm" value="
EOF;
 if(is_array($_GET['searchoption'][$optionid])) { 
$formsearch .= <<<EOF
{$_GET['searchoption'][$optionid]['value']}
EOF;
 } 
$formsearch .= <<<EOF
" onclick="showcalendar(event, this, false)" />
                    
EOF;
 } else { 
$formsearch .= <<<EOF

                        <input type="text" name="searchoption[{$optionid}][value]" size="15" class="px vm" value="
EOF;
 if(is_array($_GET['searchoption'][$optionid])) { 
$formsearch .= <<<EOF
{$_GET['searchoption'][$optionid]['value']}
EOF;
 } 
$formsearch .= <<<EOF
" />
                    
EOF;
 } 
$formsearch .= <<<EOF

                
EOF;
 } 
$formsearch .= <<<EOF

            </div>
            
EOF;
?>
<?php } ?>
    <?php $formsearch_html .= $formsearch;?><?php $fontsearch = '';$showoption = array();$tmpcount = 0;?><?php if(getstatus($option['search'], 2)) { ?>
    <?php
$fontsearch = <<<EOF

<tr>
<th width="8%">{$option['title']}:</th>
            <td>
                <ul class="cl">
                    <li
EOF;
 if($_GET[''.$option['identifier']] == 'all') { 
$fontsearch .= <<<EOF
 class="a"
EOF;
 } 
$fontsearch .= <<<EOF
><a href="forum.php?mod=forumdisplay&amp;fid={$_G['fid']}&amp;filter=sortid&amp;sortid={$_GET['sortid']}&amp;searchsort=1{$filterurladd}&amp;{$option['identifier']}=all{$sorturladdarray[$option['identifier']]}" class="xi2">不限</a></li>

EOF;
 if($option['type'] == 'select') { if(isset($option['choices']) && is_array($option['choices'])) foreach($option['choices'] as $id => $value) { if($value['foptionid'] == 0) { 
$fontsearch .= <<<EOF

<li
EOF;
 if(preg_match('/^'.$value['optionid'].'\./i', $_GET[''.$option['identifier']]) || preg_match('/^'.$value['optionid'].'$/i', $_GET[''.$option['identifier']])) { 
$fontsearch .= <<<EOF
 class="a"
EOF;
 } 
$fontsearch .= <<<EOF
><a href="forum.php?mod=forumdisplay&amp;fid={$_G['fid']}&amp;filter=sortid&amp;sortid={$_GET['sortid']}&amp;searchsort=1&amp;{$option['identifier']}={$id}{$sorturladdarray[$option['identifier']]}" class="xi2">{$value['content']}</a></li>

EOF;
 } } if(!($_GET[''.$option['identifier']] == 'all' || !isset($_GET[''.$option['identifier']]))) { if(isset($option['choices']) && is_array($option['choices'])) foreach($option['choices'] as $id => $value) { if((preg_match('/^'.$value['foptionid'].'\./i', $_GET[''.$option['identifier']]) || preg_match('/^'.$value['foptionid'].'$/i', $_GET[''.$option['identifier']])) && ($showoption[$value['count']][$id] = $value)) { } } if(ksort($showoption)) { } if(isset($showoption) && is_array($showoption)) foreach($showoption as $optioncount => $values) { if($tmpcount != $optioncount && ($tmpcount = $optioncount)) { 
$fontsearch .= <<<EOF

</ul><ul class="subtsm cl">
EOF;
 if(isset($values) && is_array($values)) foreach($values as $id => $value) { 
$fontsearch .= <<<EOF
<li
EOF;
 if(preg_match('/^'.$value['optionid'].'\./i', $_GET[''.$option['identifier']]) || preg_match('/^'.$value['optionid'].'$/i', $_GET[''.$option['identifier']])) { 
$fontsearch .= <<<EOF
 class="a"
EOF;
 } 
$fontsearch .= <<<EOF
><a href="forum.php?mod=forumdisplay&amp;fid={$_G['fid']}&amp;filter=sortid&amp;sortid={$_GET['sortid']}&amp;searchsort=1&amp;{$option['identifier']}={$id}{$sorturladdarray[$option['identifier']]}" class="xi2">{$value['content']}</a></li>

EOF;
 } 
$fontsearch .= <<<EOF

</ul><ul>

EOF;
 } } } } else { if(isset($option['choices']) && is_array($option['choices'])) foreach($option['choices'] as $id => $value) { 
$fontsearch .= <<<EOF
<li
EOF;
 if($_GET[''.$option['identifier']] && !strcmp($id, $_GET[''.$option['identifier']])) { 
$fontsearch .= <<<EOF
 class="a"
EOF;
 } 
$fontsearch .= <<<EOF
><a href="forum.php?mod=forumdisplay&amp;fid={$_G['fid']}&amp;filter=sortid&amp;sortid={$_GET['sortid']}&amp;searchsort=1&amp;{$option['identifier']}={$id}{$sorturladdarray[$option['identifier']]}" class="xi2">{$value}</a></li>

EOF;
 } } 
$fontsearch .= <<<EOF

                </ul>
            </td>
</tr>

EOF;
?>
     <?php } ?>
     <?php $fontsearch_html .= $fontsearch;?><?php } if($formsearch_html || $fontsearch_html) { ?>
<div>
<?php if($fontsearch_html) { ?>
    <div class="ptn pbn mbm bbs">
    <table id="fontsearch" class="tsm cl">
         <?php echo $fontsearch_html;?>
    </table>
    </div>
<?php } ?>
    <div class="tabx_conts" style="width: 1080px; padding: 15px 20px; margin: 0 0 20px 0; border-bottom: 0; background: #FFFFFF; position: relative; z-index: 100; box-shadow: none; border-radius: 4px;">
<div class="cl">
<div class="th" style="padding: 0; margin-bottom: 0; border: 0; background: none;">

<table cellspacing="0" cellpadding="0" style="width: 100%;">

<tr>

<th colspan="<?php if(!$_GET['archiveid'] && $_G['forum']['ismoderator']) { ?>3<?php } else { ?>2<?php } ?>" style="border-top: 0; margin: 0; padding: 0;">

<?php if(CURMODULE != 'guide') { ?>

<div class="tf" style="height: 32px; line-height: 32px;">
<a id="filter_dateline" href="javascript:;" class="showmenu showmenu2 xi2<?php if($_GET['dateline']) { ?> xw1<?php } ?>" onclick="showMenu(this.id)" style="float: right; display: none;">更多排序</a>
<span id="atarget" <?php if($_G['cookie']['atarget'] > 0) { ?>onclick="setatarget(-1)" class="y atarget_1"<?php } else { ?>onclick="setatarget(1)" class="y"<?php } ?> title="在新窗口中打开帖子" style="margin-top: 8px !important;">新窗</span>

<?php if($_GET['specialtype'] == 'reward') { ?>

<a id="filter_reward" href="javascript:;" class="showmenu xi2<?php if($_GET['rewardtype']) { ?> xw1<?php } ?>" onclick="showMenu(this.id)"><?php if($_GET['rewardtype'] == '') { ?>全部悬赏<?php } elseif($_GET['rewardtype'] == '1') { ?>进行中<?php } elseif($_GET['rewardtype'] == '2') { ?>已解决<?php } ?></a>&nbsp;

<?php } ?>

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=lastpost&amp;orderby=lastpost<?php echo $forumdisplayadd['lastpost'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="dfsj_latest xi2<?php if($_GET['filter'] == 'lastpost') { ?> xw1<?php } ?>" style="padding-left: 0; margin-right: 22px; background: none;">最新</a>

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=heat&amp;orderby=heats<?php echo $forumdisplayadd['heat'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2<?php if($_GET['filter'] == 'heat') { ?> xw1<?php } ?>">热门</a>

<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=digest&amp;digest=1<?php echo $forumdisplayadd['digest'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="dfsj_digest xi2<?php if($_GET['filter'] == 'digest') { ?> xw1<?php } ?>" style="padding-left: 0; background: none;">精华</a>
            <span class="pipe display_none">|</span>
            <a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2 display_none <?php if(!$_GET['dateline']) { ?>xw1<?php } ?>">全部时间</a>
            <a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline&amp;dateline=86400<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2 display_none <?php if($_GET['dateline'] == '86400') { ?>xw1<?php } ?>">一天</a>
<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline&amp;dateline=172800<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2 display_none <?php if($_GET['dateline'] == '172800') { ?>xw1<?php } ?>">两天</a>
<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline&amp;dateline=604800<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2 display_none <?php if($_GET['dateline'] == '604800') { ?>xw1<?php } ?>">一周</a>
<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline&amp;dateline=2592000<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2 display_none <?php if($_GET['dateline'] == '2592000') { ?>xw1<?php } ?>">一个月</a>
<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;orderby=<?php echo $_GET['orderby'];?>&amp;filter=dateline&amp;dateline=7948800<?php echo $forumdisplayadd['dateline'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" class="xi2 display_none <?php if($_GET['dateline'] == '7948800') { ?>xw1<?php } ?>">三个月</a>
            

<a id="filter_special" href="javascript:;" class="showmenu xi2<?php if($_GET['specialtype']) { ?> xw1<?php } ?>" onclick="showMenu(this.id)" style="display: none;"><?php if($_GET['specialtype'] == 'poll') { ?>投票<?php } elseif($_GET['specialtype'] == 'trade') { ?>商品<?php } elseif($_GET['specialtype'] == 'reward') { ?>悬赏<?php } elseif($_GET['specialtype'] == 'activity') { ?>活动<?php } elseif($_GET['specialtype'] == 'debate') { ?>辩论<?php } else { ?>全部主题<?php } ?></a>&nbsp;

                        <a id="th_type" href="javascript:;" class="showmenu xi2" onclick="showMenu(this.id)" style="display: none;">最新</a>

<?php if(empty($_G['forum']['picstyle']) && $_GET['orderby'] == 'lastpost' && (!$_G['setting']['forumseparator'] || !$separatepos) && !$_GET['filter']) { ?>

<a href="javascript:;" onclick="checkForumnew_btn('<?php echo $_G['fid'];?>')" title="查看更新" class="forumrefresh"></a>

<?php } if($_GET['filter'] == 'hot') { ?>

<script src="<?php echo $_G['setting']['jspath'];?>calendar.js?<?php echo VERHASH;?>" type="text/javascript"></script>

<span><?php echo $ctime;?></span>

<img src="<?php echo IMGDIR;?>/date_magnify.png" class="cur1" alt="" id="hottime" value="<?php echo $ctime;?>" fid="<?php echo $_G['fid'];?>" onclick="showcalendar(event, this, false, false, false, false, function(){viewhot(this);});" align="absmiddle" />

<?php } ?>

<span id="clearstickthread" style="display: none;">

<a href="javascript:;" onclick="clearStickThread()" class="xi2" title="显示置顶" style="margin-right: 22px; display: inline-block;">显示置顶</a>

</span>


</div>

<?php } else { ?>

标题

<?php } ?>

</th>

<?php if(empty($_G['forum']['picstyle'])) { if(CURMODULE == 'guide') { ?>

<td class="by" style="width: 0; border-top: 0;"></td>

<?php } ?>

<td class="by" style="width: 0; border-top: 0;"></td>

<td class="num" style="width: 0; border-top: 0;"></td>

<td class="by" style="width: 0; border-top: 0;"></td>

<?php } else { ?>

<td class="by" colspan="3" style="width: 70px; border-top: 0; padding-left: 12px;">

<a<?php if(empty($_G['cookie']['forumdefstyle'])) { ?> href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;forumdefstyle=yes" class="chked"<?php } else { ?> href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;forumdefstyle=no" class="unchk"<?php } ?> title="图片模式浏览帖子">图片模式</a>

</td>

<?php } ?>

</tr>

</table>

</div>
</div>
</div>
<?php if($formsearch_html) { ?>
    <form method="post" autocomplete="off" name="searhsort" id="searhsort" class="bbs bm_c pns mfm cl" action="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=sortid&amp;sortid=<?php echo $_GET['sortid'];?>">
        <input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />
        <?php echo $formsearch_html;?>
        <div class="ptm cl"><button type="submit" class="pn pnc" name="searchsortsubmit"><em>搜索</em></button></div>
    </form>
<?php } ?>
</div>
<?php } } ?>
<?php echo $sorttemplate['header'];?>
<form method="post" autocomplete="off" name="moderate" id="moderate" action="forum.php?mod=topicadmin&amp;action=moderate&amp;fid=<?php echo $_G['fid'];?>&amp;infloat=yes&amp;nopost=yes">
<?php echo $sorttemplate['body'];?>
<?php if($_G['forum']['ismoderator'] && $_G['forum_threadcount']) { include template('forum/topicadmin_modlayer'); } ?>
</form>
<?php echo $sorttemplate['footer'];?>
</div>

<div class="bm bw0 pgs cl">
<?php echo $multipage;?>
<span <?php if($_G['setting']['visitedforums']) { ?>id="visitedforumstmp" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu({'ctrlid':this.id,'pos':'21'})"<?php } ?> class="pgb y"><a href="forum.php">返&nbsp;回</a></span>
<?php if(!$_GET['archiveid']) { ?><a href="javascript:;" id="newspecialtmp" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})"<?php if(!$_G['forum']['allowspecialonly'] && empty($_G['forum']['picstyle'])) { ?> onclick="showWindow('newthread', 'forum.php?mod=post&action=newthread&fid=<?php echo $_G['fid'];?>')"<?php } else { ?> onclick="location.href='forum.php?mod=post&action=newthread&fid=<?php echo $_G['fid'];?>';return false;"<?php } ?> title="发新帖" class="pgsbtn showmenu">发新帖</a><?php } ?>
<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_postbutton_bottom'])) echo $_G['setting']['pluginhooks']['forumdisplay_postbutton_bottom'];?>
</div><?php } } ?>

<!--[diy=diyfastposttop]--><div id="diyfastposttop" class="area"></div><!--[/diy]-->

            

<?php if($fastpost) { include template('forum/forumdisplay_fastpost'); } ?>



<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_bottom'])) echo $_G['setting']['pluginhooks']['forumdisplay_bottom'];?>

<!--[diy=diyforumdisplaybottom]--><div id="diyforumdisplaybottom" class="area"></div><!--[/diy]-->

</div>

</div>

<div class="sd" style="float: right; width: 325px; position: relative;">

<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_side_top'])) echo $_G['setting']['pluginhooks']['forumdisplay_side_top'];?>
<div style="height: 50px; margin: 0 0 15px 0;" class="cl">
<a href="forum.php?mod=post&amp;action=newthread&amp;fid=<?php echo $_G['fid'];?>" target="_blank" class="forumlist_newthread ga-data" data-ga-category="nav-post" data-ga-action="click" data-ga-label="post" onclick="redme()" style="float: left; background: #44a8f2; color: #FFFFFF !important;">+&nbsp;发帖</a>
<a href="#" id="sign" style="float:right;color:black;background:white;display: inline-block;
    height: 50px;
    width: 162px;
    text-align: center;
    line-height: 50px;
    font-size: 16px;
    text-decoration: none;
}">签到</a>
</div>
<?php if($moderatedby) { ?><div class="cardx" style="border-radius: 0; padding: 16px;
    font-size: 14px;
    line-height: 30px;
margin-bottom: 0;
    color: #778087;">版主: <em><?php echo $moderatedby;?></em></div><?php } ?>
  						<?php if($_G['forum']['ismoderator']) { ?>
<div class="cardx" style="border-radius: 0; padding: 0 16px 10px 16px;
    font-size: 14px;
    line-height: 30px;
margin-bottom: 0;
    color: #778087;">
<?php if($_G['forum']['recyclebin']) { ?>
<a href="<?php if($_G['adminid'] == 1) { ?>admin.php?mod=forum&action=recyclebin&frames=yes<?php } elseif($_G['forum']['ismoderator']) { ?>forum.php?mod=modcp&action=recyclebin&fid=<?php echo $_G['fid'];?><?php } ?>" target="_blank" style="float: left; font-size: 15px; color: rgba(0, 0, 0, .45); margin: 0;">回收站</a>
<?php } if($_G['forum']['ismoderator'] && !$_GET['archiveid']) { if($_G['forum']['status'] != 3) { ?>
<a href="forum.php?mod=modcp&amp;fid=<?php echo $_G['fid'];?>" style="float: left; font-size: 14px; color: #999999; margin: 0 0 0 10px;">管理面板</a>
<?php } else { ?>
<a href="forum.php?mod=group&amp;action=manage&amp;fid=<?php echo $_G['fid'];?>" style="float: left; font-size: 15px; color: rgba(0, 0, 0, .45); margin: 0 0 0 10px;">管理面板</a>
<?php } ?>
</div>
<?php } ?>
<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_modlink'])) echo $_G['setting']['pluginhooks']['forumdisplay_modlink'];?>
<?php } if($_G['page'] == 1 && $_G['forum']['rules']) { ?>
<div class="cardx" style="border-radius: 0;">
  <?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_forumaction'])) echo $_G['setting']['pluginhooks']['forumdisplay_forumaction'];?>
  <div class="card-body">
  <span style="display:block;margin: 0 0 18px 0;font-size:16px;">《本版规则》</span>
<div id="forum_rules_<?php echo $_G['fid'];?>" style="<?php echo $collapse['forum_rules'];?>; line-height: 23px; margin: 0px; padding: 0px; height: initial; overflow: hidden; color: #5f5e5e; font-size: 14px;" class="rules">
<div class="cl"><?php echo $_G['forum']['rules'];?></div>
</div>

  
  </div>
</div>
<?php } if($subexists && $_G['page'] == 1) { include template('forum/forumdisplay_subforum'); } ?>

<div class="drag">
<!--[diy=diy2]--><div id="diy2" class="area"></div><!--[/diy]-->
</div>

                  <div class="tabBar2 cl" style="border: 0;">

<div class="hd cl">

           <!--[diy=diy_tab1]--><div id="diy_tab1" class="area"></div><!--[/diy]-->

</div>

<div class="bd cl">

<div class="conWrap">

<div class="con">

                               <!--[diy=diy_con1_1]--><div id="diy_con1_1" class="area"></div><!--[/diy]-->

</div>

<div class="con">

                               <!--[diy=diy_con2_2]--><div id="diy_con2_2" class="area"></div><!--[/diy]-->

</div>

</div>

</div>

  </div>

      <script src="template/quater_2023_dji/src/js/jquery.superslide.js?<?php echo VERHASH;?>" type="text/javascript" type="text/javascript"></script>

  <script type="text/javascript">

     jQuery(".tabBar2").slide({ mainCell:".conWrap", effect:"fold", pnLoop:false });

  </script>

<?php if(!$subforumonly) { ?>

<div class="box_1 cl" style="padding-top: 20px; padding-bottom: 0; margin-bottom: 15px; display: none;">

                   <div class="side_tit" style="padding: 0; margin: 0;">

                      <span class="span-mark"></span>

                      <h2><?php echo cutstr($_G['cache']['forums'][$_G['forum']['fup']]['name'], 22, '')?></h2>

                   </div>

<div class="bankuai bm_c" style="padding: 15px;">

<ul class="cl" style="width: 270px;"><?php if(isset($_G['cache']['forums']) && is_array($_G['cache']['forums'])) foreach($_G['cache']['forums'] as $bforum) { if($bforum['fup'] == $_G['forum']['fup'] && $bforum['status']) { ?>

<li><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $bforum['fid'];?>"><?php echo $bforum['name'];?></a></li>

<?php } } ?>

</ul>

</div>

</div>

<?php } ?>

<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_side_bottom'])) echo $_G['setting']['pluginhooks']['forumdisplay_side_bottom'];?>

</div>

</div>

</div>

<?php if($_G['group']['allowpost'] && ($_G['group']['allowposttrade'] || $_G['group']['allowpostpoll'] || $_G['group']['allowpostreward'] || $_G['group']['allowpostactivity'] || $_G['group']['allowpostdebate'] || $_G['setting']['threadplugins'] || $_G['forum']['threadsorts'])) { ?>

<ul class="p_pop" id="newspecial_menu" style="display: none">

<?php if(!$_G['forum']['allowspecialonly']) { ?><li><a href="forum.php?mod=post&amp;action=newthread&amp;fid=<?php echo $_G['fid'];?>">发表帖子</a></li><?php } if($_G['forum']['threadsorts'] && !$_G['forum']['allowspecialonly']) { if(isset($_G['forum']['threadsorts']['types']) && is_array($_G['forum']['threadsorts']['types'])) foreach($_G['forum']['threadsorts']['types'] as $id => $threadsorts) { if($_G['forum']['threadsorts']['show'][$id]) { ?>

<li class="popupmenu_option"><a href="forum.php?mod=post&amp;action=newthread&amp;fid=<?php echo $_G['fid'];?>&amp;extra=<?php echo $extra;?>&amp;sortid=<?php echo $id;?>"><?php echo $threadsorts;?></a></li>

<?php } } } if($_G['group']['allowpostpoll']) { ?><li class="poll"><a href="forum.php?mod=post&amp;action=newthread&amp;fid=<?php echo $_G['fid'];?>&amp;special=1">发起投票</a></li><?php } if($_G['group']['allowpostreward']) { ?><li class="reward"><a href="forum.php?mod=post&amp;action=newthread&amp;fid=<?php echo $_G['fid'];?>&amp;special=3">发布悬赏</a></li><?php } if($_G['group']['allowpostdebate']) { ?><li class="debate"><a href="forum.php?mod=post&amp;action=newthread&amp;fid=<?php echo $_G['fid'];?>&amp;special=5">发起辩论</a></li><?php } if($_G['group']['allowpostactivity']) { ?><li class="activity"><a href="forum.php?mod=post&amp;action=newthread&amp;fid=<?php echo $_G['fid'];?>&amp;special=4">发起活动</a></li><?php } if($_G['group']['allowposttrade']) { ?><li class="trade"><a href="forum.php?mod=post&amp;action=newthread&amp;fid=<?php echo $_G['fid'];?>&amp;special=2">出售商品</a></li><?php } if($_G['setting']['threadplugins']) { if(isset($_G['forum']['threadplugin']) && is_array($_G['forum']['threadplugin'])) foreach($_G['forum']['threadplugin'] as $tpid) { if(array_key_exists($tpid, $_G['setting']['threadplugins']) && @in_array($tpid, $_G['group']['allowthreadplugin'])) { ?>

<li class="popupmenu_option"<?php if($_G['setting']['threadplugins'][$tpid]['icon']) { ?> style="background-image:url(source/plugin/<?php echo $tpid;?>/<?php echo $_G['setting']['threadplugins'][$tpid]['icon'];?>)"<?php } ?>><a href="forum.php?mod=post&amp;action=newthread&amp;fid=<?php echo $_G['fid'];?>&amp;specialextra=<?php echo $tpid;?>"><?php echo $_G['setting']['threadplugins'][$tpid]['name'];?></a></li>

<?php } } } ?>

</ul>

<?php } if($_G['setting']['visitedforums'] && $_G['forum']['status'] != 3) { ?>

<div id="visitedforums_menu" class="p_pop blk cl" style="display: none;">

<table cellspacing="0" cellpadding="0">

<tr>

<td id="v_forums">

<h3 class="mbn pbn bbda xg1">浏览过的版块</h3>

<ul class="xl xl1">

<?php echo $_G['setting']['visitedforums'];?>

</ul>

</td>

</tr>

</table>

</div>

<?php } if($_G['setting']['threadmaxpages'] > 1 && $page && !$subforumonly) { ?>

<script type="text/javascript">document.onkeyup = function(e){keyPageScroll(e, <?php if($page > 1) { ?>1<?php } else { ?>0<?php } ?>, <?php if($page < $_G['setting']['threadmaxpages'] && $page < $_G['page_next']) { ?>1<?php } else { ?>0<?php } ?>, 'forum.php?mod=forumdisplay&fid=<?php echo $_G['fid'];?>&filter=<?php echo $filter;?>&orderby=<?php echo $_GET['orderby'];?><?php echo $forumdisplayadd['page'];?>&<?php echo $multipage_archive;?>', <?php echo $page;?>);}</script>

<?php } if(empty($_G['forum']['picstyle']) && $_GET['orderby'] == 'lastpost' && empty($_GET['filter']) ) { ?>

<script type="text/javascript">checkForumnew_handle = setTimeout(function () {checkForumnew(<?php echo $_G['fid'];?>, lasttime);}, checkForumtimeout);</script>

<?php } ?>

<div class="wp mtn">

<!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]-->

</div>

<?php if(empty($_G['setting']['disfixednv_forumdisplay']) ) { ?><script>fixed_top_nv();</script><?php } include template('common/footer'); ?>